alias .. ='../'alias ... ='../../'alias .... ='../../../'alias ..... ='../../../../'# cd after mkdirfunction mcd {mkdir-p"$@"&&builtin cd"$@"}# ls after cdfunction cd{builtin cd"$@"&&ls-G}
the first time tried I use same as you, but when typing '..?', it will make me need to count how many dot and then it can hurt my eye. So better I switch to something like this:
alias cd2 = '../../'
alias cd3 = '../../../'
alias cd4 = '../../../../'
less typo, easy to remember so it better
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
These have saved me a lot of time:
I've done something similar as well.
It's a time saver for sure!
Wise man!
the first time tried I use same as you, but when typing '..?', it will make me need to count how many dot and then it can hurt my eye. So better I switch to something like this:
less typo, easy to remember so it better