mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-25 13:01:31 +01:00
aliases: remove obsolete aliases, cleanup
This commit is contained in:
parent
48b8791b4b
commit
f006ac95e7
13
aliases.sh
13
aliases.sh
|
@ -22,8 +22,6 @@ if [[ "$(uname)" == "Darwin" ]]; then
|
||||||
#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'
|
alias lsrt='ls -G -lrt | tail -5'
|
||||||
## Add opened files to Textmate's recent menu item
|
|
||||||
alias mate='mate --recent'
|
|
||||||
else
|
else
|
||||||
alias ls='ls --color'
|
alias ls='ls --color'
|
||||||
fi
|
fi
|
||||||
|
@ -58,9 +56,6 @@ fi
|
||||||
## Stress one CPU core
|
## Stress one CPU core
|
||||||
alias stress='yes >> /dev/null'
|
alias stress='yes >> /dev/null'
|
||||||
|
|
||||||
# use textmate to diff two files
|
|
||||||
alias mdiff="mate -t source.diff"
|
|
||||||
|
|
||||||
# define ssh without controlmaster
|
# define ssh without controlmaster
|
||||||
alias ssh1="ssh -o ControlMaster=no"
|
alias ssh1="ssh -o ControlMaster=no"
|
||||||
|
|
||||||
|
@ -94,7 +89,11 @@ alias pvim='poetry run vim'
|
||||||
alias pshell='poetry shell'
|
alias pshell='poetry shell'
|
||||||
|
|
||||||
# dotfiles user aliases
|
# dotfiles user aliases
|
||||||
if [[ -f ~/.dotfiles_aliases ]];
|
if [[ -f ~/.dotfiles_aliases ]]; then
|
||||||
then
|
|
||||||
source $HOME/.dotfiles_aliases
|
source $HOME/.dotfiles_aliases
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# source ssh aliases
|
||||||
|
if [[ -f $HOME/.ssh_aliases ]]; then
|
||||||
|
source $HOME/.ssh_aliases
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user