We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c628919 commit 00c30b0Copy full SHA for 00c30b0
1 file changed
dotfiles/.functions.sh
@@ -544,13 +544,13 @@ urldecode_json() {
544
#----------------
545
546
save_session() {
547
- echo "$PWD" "$@" >>"$HOME/Desktop/sessions.txt"
+ echo "$PWD" "$@" >>"$HOME/Desktop/txt/sessions.txt"
548
}
549
550
restore_session() {
551
local dir="$PWD"
552
local command
553
- command=$(command grep "^$dir " "$HOME/Desktop/sessions.txt" | sed "s|^$dir ||")
+ command=$(command grep "^$dir " "$HOME/Desktop/txt/sessions.txt" | sed "s|^$dir ||")
554
555
if [[ -z "$command" ]]; then
556
echo "no session found for $dir"
0 commit comments