mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
aliases: mcd accepts paths with spaces
Even though heathens put spaces in file/directory names
This commit is contained in:
parent
927fdb5660
commit
990b9ffb30
2
aliases
2
aliases
@ -18,7 +18,7 @@ alias al=la # No, I don't need the Mono Assembly Linker
|
|||||||
|
|
||||||
alias md="mkdir -p"
|
alias md="mkdir -p"
|
||||||
alias rd="rmdir -p"
|
alias rd="rmdir -p"
|
||||||
mcd(){ mkdir -p $@ && cd $@; }
|
mcd(){ mkdir -p -- $@ && cd -- $@; }
|
||||||
alias -- -='cd -'
|
alias -- -='cd -'
|
||||||
alias cdt='cd `mktemp -d`'
|
alias cdt='cd `mktemp -d`'
|
||||||
alias grep='grep --color'
|
alias grep='grep --color'
|
||||||
|
Loading…
Reference in New Issue
Block a user