diff --git a/.bashrc b/.bashrc index 1645f3e..03c3816 100644 --- a/.bashrc +++ b/.bashrc @@ -138,6 +138,23 @@ gpg_decrypt () { gpg --decrypt --output ${output} "${1}" && echo "${1} -> ${output}" } +# for spawning new terminal instances in the current working directory in foot terminal +osc7_cwd() { + local strlen=${#PWD} + local encoded="" + local pos c o + for (( pos=0; pos