Merge pull request #25 from jotyGill/develop

Develop pull
This commit is contained in:
jotyGill
2023-01-19 00:54:49 +00:00
committed by GitHub
2 changed files with 4 additions and 7 deletions

View File

@@ -148,7 +148,7 @@ SAVEHIST=50000 #save upto 50,000 lines in history. oh-my-zsh default is 10,
#setopt hist_ignore_all_dups # dont record duplicated entries in history during a single session
alias myip="wget -qO- https://wtfismyip.com/text" # quickly show external ip address
alias l="ls -lah"
alias l="ls -lAhrtF" # show all except . .. , sort by recent, / at the end of folders
alias e="exit"

View File

@@ -14,7 +14,9 @@ if mv -n ~/.zshrc ~/.zshrc-backup-$(date +"%Y-%m-%d"); then # backup .zshrc
echo -e "Backed up the current .zshrc to .zshrc-backup-date\n"
fi
mkdir -p ~/.config/ezsh # the setup will be installed in here
echo -e "The setup will be installed in '~/.config/ezsh'\n"
echo -e "Place your personal zshrc config files under '~/.config/ezsh/zshrc/'\n"
mkdir -p ~/.config/ezsh/zshrc
if [ -d ~/.quickzsh ]; then
echo -e "\n PREVIOUS SETUP FOUND AT '~/.quickzsh'. PLEASE MANUALLY MOVE ANY FILES YOU'D LIKE TO '~/.config/ezsh' \n"
@@ -146,11 +148,6 @@ else
echo -e "\nNot copying bash_history to zsh_history, as --cp-hist or -c is not supplied\n"
fi
ZDOTDIR="~/.config/ezsh/zshrc"
if [ ! -d $ZDOTDIR ]; then
mkdir -p $ZDOTDIR
fi
# source ~/.zshrc
echo -e "\nSudo access is needed to change default shell\n"