✏️ Fixed typo
This commit is contained in:
parent
71c50d1d18
commit
9bfd3cefe3
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
#/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# A simple bookmarking alias used in conjunction with rdir and our $HOME/.aliases file to bookmark our current directory to be returned to later using rdir.
|
# A simple bookmarking alias used in conjunction with rdir and our $HOME/.aliases file to bookmark our current directory to be returned to later using rdir.
|
||||||
|
|
||||||
|
|
@ -14,7 +14,7 @@ fi
|
||||||
# save our current working directory
|
# save our current working directory
|
||||||
sdir=$(pwd)
|
sdir=$(pwd)
|
||||||
|
|
||||||
# and write that directory temporarily into our .zshrc
|
# and write that directory temporarily, appending it onto the end of our .zshrc
|
||||||
echo 'export sdir='$sdir >> $HOME/.zshrc
|
echo 'export sdir='$sdir >> $HOME/.zshrc
|
||||||
# immediately source it to use it in this shell session
|
# immediately source it to use it in this shell session
|
||||||
source $HOME/.zshrc
|
source $HOME/.zshrc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue