source:
dass-tools/etc/profile.d/dass-it.sh@
1072
Last change on this file since 1072 was 1071, checked in by , on Aug 17, 2012 at 2:06:23 PM | |
---|---|
File size: 404 bytes |
Rev | Line | |
---|---|---|
[1071] | 1 | # some usefull aliases |
2 | ||
3 | alias_set() | |
4 | { | |
5 | name=$1 | |
6 | shift | |
7 | alias $name >/dev/null 2>&1 || alias $name="$@" | |
8 | } | |
9 | ||
10 | alias_set l "ls -la" | |
11 | alias_set .. "cd .." | |
12 | alias_set ... "cd ../.." | |
13 | alias_set lsst 'find -type f -printf "%T@ %T+ %P\n" | sort' | |
14 | alias_set rpm-gpg-list 'rpm -qa --nodigest --nosignature --qf "%{VERSION}-%{RELEASE} %{SUMMARY}\n" gpg-pubkey*' | |
15 | alias_set rpm-disturl 'rpm -q --qf "%{DISTURL}\n"' |
Note:
See TracBrowser
for help on using the repository browser.