Update stuff

This commit is contained in:
2022-06-06 23:38:10 +04:00
parent 3cd7d3e61d
commit b5bd5b8e97
18 changed files with 243 additions and 144 deletions

View File

@@ -8,14 +8,12 @@
currdir=$(pwd)
## get the full path of this script (readlink for Linux, greadlink for Mac with coreutils installed)
sfp=$(readlink -f "${BASH_SOURCE[0]}" 2>/dev/null || greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null)
## fallback for Macs without coreutils
if [ -z "$sfp" ]; then sfp=${BASH_SOURCE[0]}; fi
sfp=$HOME/.mozilla/firefox/profile
## change directory to the Firefox profile directory
cd "$(dirname "${sfp}")"
cd $sfp
echo $(pwd)
fQuit() {
## change directory back to the original working directory