Januschan

Terminal.sh

May 25th, 2020
637
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. #Terminal
  2. #Terminal -> Preferences -> General
  3. #Set 'Command (command path):'
  4.  
  5. read -n1 -p 'Run as Administrator? [y,n]'\  doit
  6. case $doit in  
  7.   y|Y) sudo -p \ enter_root_password\:\  /bin/zsh ;;
  8.   n|N) /bin/zsh ;;
  9.   *) /bin/zsh ;;
  10.  # *) exit ;;
  11. esac
Add Comment
Please, Sign In to add comment