diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2018-01-25 16:26:32 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2018-01-25 16:26:32 +0100 |
| commit | e63dac9019b576ffcdf98315b933ad74802f73ff (patch) | |
| tree | 5d8765e46e2d2d1c4924b3cd01d32c1c00b77274 /arch-linux/list_newest_packages.fish | |
| parent | a2bb05f5a7363441adfbd705a83884d1346d03fb (diff) | |
| download | dotfiles-e63dac9019b576ffcdf98315b933ad74802f73ff.tar.gz dotfiles-e63dac9019b576ffcdf98315b933ad74802f73ff.zip | |
rename arch linux directory
Diffstat (limited to 'arch-linux/list_newest_packages.fish')
| -rw-r--r-- | arch-linux/list_newest_packages.fish | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch-linux/list_newest_packages.fish b/arch-linux/list_newest_packages.fish new file mode 100644 index 0000000..c6c6b1e --- /dev/null +++ b/arch-linux/list_newest_packages.fish @@ -0,0 +1,7 @@ +function list_newest_packages --description "list all packages sorted by install date old->new" + if type -q expac + expac --timefmt=%s '%b\t%n' | sort -n + else + echo "expac not available!" + end +end |
