mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
Added color to lsrt
This commit is contained in:
parent
dcd53f33aa
commit
faf112d855
|
@ -24,7 +24,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
## Flush dns cache
|
## Flush dns cache
|
||||||
#alias dnsflushcache='sudo discoveryutil mdnsflushcache' # used to work until 10.6
|
#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 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
|
## Add opened files to Textmate's recent menu item
|
||||||
alias mate='mate --recent'
|
alias mate='mate --recent'
|
||||||
fi
|
fi
|
||||||
|
@ -54,7 +54,9 @@ alias ipy="ipython --pylab"
|
||||||
alias upcd='. upcd.sh'
|
alias upcd='. upcd.sh'
|
||||||
|
|
||||||
## Show the last 10 modified files
|
## Show the last 10 modified files
|
||||||
|
if [[ ! "$(uname)" == "Darwin" ]]; then
|
||||||
alias lsrt="ls -lrt | tail -10"
|
alias lsrt="ls -lrt | tail -10"
|
||||||
|
fi
|
||||||
|
|
||||||
## List open connections, TCP and UDP
|
## List open connections, TCP and UDP
|
||||||
alias listconnections="lsof -n -i TCP -i UDP"
|
alias listconnections="lsof -n -i TCP -i UDP"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user