1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 23:31:32 +01:00

Added color to lsrt

This commit is contained in:
bretello 2018-02-15 00:58:51 +01:00
parent dcd53f33aa
commit faf112d855

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"