source: dass-tools/etc/profile.d/dass-it.sh@ 1075

Last change on this file since 1075 was 1073, checked in by joergs, on Aug 17, 2012 at 3:33:20 PM

improved

File size: 457 bytes
RevLine 
[1071]1# some usefull aliases
2
3alias_set()
4{
5 name=$1
6 shift
7 alias $name >/dev/null 2>&1 || alias $name="$@"
8}
9
10alias_set l "ls -la"
11alias_set .. "cd .."
12alias_set ... "cd ../.."
13alias_set lsst 'find -type f -printf "%T@ %T+ %P\n" | sort'
[1073]14
15# VERSION: GPG Key ID
16# RELEASE: Timestamp
17alias_set rpm-gpg-list 'rpm -qa --nodigest --nosignature --qf "%{NAME}-%{VERSION}-%{RELEASE} %{SUMMARY}\n" gpg-pubkey*'
18
[1071]19alias_set rpm-disturl 'rpm -q --qf "%{DISTURL}\n"'
Note: See TracBrowser for help on using the repository browser.