This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd() { | |
if [[ $1 =~ ^[\.]{3,}$ ]]; then | |
# rewrite ... as ../../ etc. | |
directory="../" | |
depth=${#1} | |
for i in `seq 3 $depth`; do | |
directory+=../ | |
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am iansu on github. | |
* I am iansu (https://keybase.io/iansu) on keybase. | |
* I have a public key whose fingerprint is B381 B817 42ED D871 EA20 F75D 50B9 2C39 4854 3ABC | |
To claim this, I am signing this object: |
NewerOlder