1
0
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:
Joe Groocock 2018-10-31 17:22:17 +00:00
parent 927fdb5660
commit 990b9ffb30
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -18,7 +18,7 @@ alias al=la # No, I don't need the Mono Assembly Linker
alias md="mkdir -p"
alias rd="rmdir -p"
mcd(){ mkdir -p $@ && cd $@; }
mcd(){ mkdir -p -- $@ && cd -- $@; }
alias -- -='cd -'
alias cdt='cd `mktemp -d`'
alias grep='grep --color'