Skip to content

Commit

Permalink
Add openfortivpn alias
Browse files Browse the repository at this point in the history
  • Loading branch information
oizo committed Nov 3, 2021
1 parent fcc5c2d commit d55fd92
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bash_aliases
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ case $OS_NAME in

Linux)
alias dkxmodmap=xmodmap-danish-mac
if [ -x "$(command -v openfortivpn)" ]; then
alias fiftytwo_vpn="sudo bash -c 'openfortivpn -c $HOME/.fiftytwo_forti_config &'"
fi
# Add an "alert" alias for long running commands. Use like so:
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
Expand Down

0 comments on commit d55fd92

Please sign in to comment.