remove current_profile function

This commit is contained in:
Dyego Aurélio 2020-10-23 13:55:19 -03:00
parent 1b07537055
commit ebcf5c9b1e
1 changed files with 0 additions and 7 deletions

View File

@ -5,13 +5,6 @@ FIREFOXFOLDER=~/.mozilla/firefox
PROFILENAME="" PROFILENAME=""
THEME=DEFAULT THEME=DEFAULT
# Determine firefox profile being currently used programatically
# credits: https://stackoverflow.com/questions/57526217/
function current_profile() {
pgrep firefox | xargs -I{} lsof -p {} 2>/dev/null | grep .parentlock |
awk '{for(i=9;i<=NF;++i)printf $i""FS ; print ""}' | cut -d'/' -f6
}
# Get options. # Get options.
while getopts 'f:p:g:t:h' flag; do while getopts 'f:p:g:t:h' flag; do