Compare commits
2 Commits
2233d47782
...
d59183ad63
Author | SHA1 | Date | |
---|---|---|---|
d59183ad63 | |||
43607cba6e |
@ -18,7 +18,6 @@ alias rsync_copy="rsync $DEFAULT_RSYNC --ignore-times"
|
|||||||
alias off='systemctl poweroff'
|
alias off='systemctl poweroff'
|
||||||
alias nnn='nnn -dHrR'
|
alias nnn='nnn -dHrR'
|
||||||
alias nn='n -dHrR'
|
alias nn='n -dHrR'
|
||||||
alias finds='find $* 2>/dev/null'
|
|
||||||
alias c='clear'
|
alias c='clear'
|
||||||
alias sort_dirs_by_size='du --block-size=1K --human-readable --max-depth=1 | sort --human-numeric-sort --reverse' # 'du -kh --max-depth=1 | sort -hr'
|
alias sort_dirs_by_size='du --block-size=1K --human-readable --max-depth=1 | sort --human-numeric-sort --reverse' # 'du -kh --max-depth=1 | sort -hr'
|
||||||
alias sd='sudo ' # alias, so sudo can use aliases: "If the last character of the alias value is a blank, then the next command word following the alias is also checked for alias expansion."
|
alias sd='sudo ' # alias, so sudo can use aliases: "If the last character of the alias value is a blank, then the next command word following the alias is also checked for alias expansion."
|
||||||
@ -63,10 +62,9 @@ executeAndNotify () {
|
|||||||
|
|
||||||
|
|
||||||
# find file but don't print errors (e.g. can't access directory etc.)
|
# find file but don't print errors (e.g. can't access directory etc.)
|
||||||
: 'seems to be working as alias as well:
|
|
||||||
finds () {
|
finds () {
|
||||||
find $* 2>/dev/null
|
find $* 2>/dev/null
|
||||||
}'
|
}
|
||||||
|
|
||||||
|
|
||||||
# sends a desktop-notification with an icon signalling an error
|
# sends a desktop-notification with an icon signalling an error
|
||||||
|
Loading…
Reference in New Issue
Block a user