Added color to lsrt

whole-command-tab-completion
bretello 2018-02-15 00:58:51 +01:00
parent dcd53f33aa
commit faf112d855
1 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
## Flush dns cache
#alias dnsflushcache='sudo discoveryutil mdnsflushcache' # used to work until 10.6
alias dnsflushcache='sudo killall -HUP mDNSResponder' # Works up until 10.9 and after 10.10.4
alias lsrt='ls -G -lrt | tail -5'
## Add opened files to Textmate's recent menu item
alias mate='mate --recent'
fi
@ -54,7 +54,9 @@ alias ipy="ipython --pylab"
alias upcd='. upcd.sh'
## Show the last 10 modified files
alias lsrt="ls -lrt | tail -10"
if [[ ! "$(uname)" == "Darwin" ]]; then
alias lsrt="ls -lrt | tail -10"
fi
## List open connections, TCP and UDP
alias listconnections="lsof -n -i TCP -i UDP"