✨ Extended home alias to include xclear
This commit is contained in:
parent
79494f2ddb
commit
16dcf60de1
1 changed files with 5 additions and 6 deletions
11
zshrc.txt
11
zshrc.txt
|
|
@ -1,5 +1,4 @@
|
|||
# ~/.zshrc
|
||||
|
||||
# to change default shell, use chsh -s $(which zsh)
|
||||
|
||||
# prevent overwriting of existing files
|
||||
|
|
@ -8,12 +7,11 @@ set -o noclobber
|
|||
# set +o noclobber
|
||||
|
||||
# create custom env variables:
|
||||
# export cproj="/home/brian/Documents/Code/web_tutorials/advanced_programming_in_the_UNIX_environment_midterm"
|
||||
export cproj="/home/brian/Documents/Code/leafbytes"
|
||||
export cproj="/home/brian/Documents/Code/javascript/city_stats/research/"
|
||||
|
||||
# custom BROWSER env for ddgr:
|
||||
# export BROWSER=librewolf
|
||||
export BROWSER=links
|
||||
export BROWSER=librewolf
|
||||
# export BROWSER=links
|
||||
export EDITOR=nvim
|
||||
export PF_INFO="ascii os kernel pkgs shell wm editor"
|
||||
|
||||
|
|
@ -148,7 +146,7 @@ fi
|
|||
bindkey -v
|
||||
|
||||
# alias home="xclear && cd /home/brian && clear && history -p && hash -r && /usr/bin/rm $HOME/.zsh_history && touch $HOME/.zsh_history"
|
||||
alias home="cd && history -p && clear"
|
||||
alias home="cd && history -p && clear && echo '' | xclip && xclip -selection clipboard /dev/null"
|
||||
|
||||
# Various source files (do not place at end of zshrc/bashrc)
|
||||
source ~/.aliases
|
||||
|
|
@ -187,3 +185,4 @@ fi
|
|||
if [[ -f "$HOME/.sdrc" ]] ; then
|
||||
source "$HOME/.sdrc"
|
||||
fi
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue