mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-10-31 18:01:30 +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 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'
|
||||
else
|
||||
alias ls='ls --color'
|
||||
fi
|
||||
|
@ -58,9 +56,6 @@ fi
|
|||
## Stress one CPU core
|
||||
alias stress='yes >> /dev/null'
|
||||
|
||||
# use textmate to diff two files
|
||||
alias mdiff="mate -t source.diff"
|
||||
|
||||
# define ssh without controlmaster
|
||||
alias ssh1="ssh -o ControlMaster=no"
|
||||
|
||||
|
@ -94,7 +89,11 @@ alias pvim='poetry run vim'
|
|||
alias pshell='poetry shell'
|
||||
|
||||
# dotfiles user aliases
|
||||
if [[ -f ~/.dotfiles_aliases ]];
|
||||
then
|
||||
if [[ -f ~/.dotfiles_aliases ]]; then
|
||||
source $HOME/.dotfiles_aliases
|
||||
fi
|
||||
|
||||
# source ssh aliases
|
||||
if [[ -f $HOME/.ssh_aliases ]]; then
|
||||
source $HOME/.ssh_aliases
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user