Handle -t argument
This commit is contained in:
parent
3755f62c5f
commit
2c030d64e3
@ -49,6 +49,17 @@ if [[ ! -f "$HOME/.seltheme" ]]; then
|
|||||||
func_seltheme
|
func_seltheme
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
##############################
|
||||||
|
##### arguments #####
|
||||||
|
##############################
|
||||||
|
# handle arguments
|
||||||
|
if [[ ! -z "$1" ]]; then
|
||||||
|
# -t/--theme to change theme
|
||||||
|
if [[ "$1" == "-t" || "$1" == "--theme" ]]; then
|
||||||
|
func_seltheme
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
#delete previous backups
|
#delete previous backups
|
||||||
echo Removing old backup
|
echo Removing old backup
|
||||||
rm -rf ~/old_dat
|
rm -rf ~/old_dat
|
||||||
|
Loading…
Reference in New Issue
Block a user