From 882ee77db3944820492ed72876becaa0d28e1c8e Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sun, 27 May 2018 19:51:05 -0400 Subject: [PATCH] Update .zshrc --- ChromeOS/zsh/.zshrc | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/ChromeOS/zsh/.zshrc b/ChromeOS/zsh/.zshrc index 1854405..8cc45a1 100644 --- a/ChromeOS/zsh/.zshrc +++ b/ChromeOS/zsh/.zshrc @@ -14,8 +14,8 @@ unsetopt beep bindkey -v # End of lines configured by zsh-newuser-install -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git -echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc +#git clone https://github.com/zsh-users/zsh-syntax-highlighting.git +#echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh # prompt stuff @@ -42,17 +42,25 @@ vcs_info_wrapper() { export RPROMPT=$'%@ $(vcs_info_wrapper) %?' #other stuff -clear -screenfetch +# clear +# screenfetch #dont mess with this alias ls="ls --color=auto" +alias pip="python3 -m pip" + # aliases + +#pandoc +alias docx="pandoc -s -o" + +alias school="cd /media/removable/SD\ Card/School" +alias sdcard="cd /media/removable/SD\ Card/" alias ll="ls -l" alias la="ls -a" alias please='sudo $(history -p !!)' -alias vi=vim +# alias vi=vim alias :q="exit" alias :wq="exit" alias cls=clear @@ -68,6 +76,14 @@ sci(){ fi } +search(){ + if [ $# != 1 ]; then + echo "please enter a name to search for" + else + ls | grep "$1" + fi +} + csearch(){ if [ $# != 1 ]; then echo "Usage: csearch " @@ -133,4 +149,12 @@ extract () { else echo "'$1' is not a valid file!" fi - } +} +#cls +#screenfetch +source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh +source /home/chronos/user/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh + +eval $(thefuck --alias) +export PATH=/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/local/share/texlive/2017/bin/x86_64-linux +export MANPATH=/usr/local/share/man:/usr/share/man:/usr/local/share/texlive/2017/bin/texmf-dist/doc/man