mirror of https://github.com/Chizi123/Dotfiles.git

Joel Grunbaum
2020-06-01 031336b639ccd5d093ae26b5fcfda374b50b510b
Genericised shell options
3 files modified
12 ■■■■ changed files
all-shells/.commonshell 4 ●●●● patch | view | raw | blame | history
bash/.bashrc 4 ●●●● patch | view | raw | blame | history
zsh/.zshrc 4 ●●●● patch | view | raw | blame | history
all-shells/.commonshell
@@ -9,11 +9,11 @@
export EDITOR=/usr/bin/vim
#default wine prefix
export WINEPREFIX=/home/joel/.wine/Games/
export WINEPREFIX=$HOME/.wine/Games/
export STEAM_COMPAT_DATA_PATH=$HOME/proton
export LIBVA_DRIVER_NAME=iHD
# add to path
export PATH=$PATH:~/.local/bin
PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
[ -r /usr/bin/ruby ] && PATH="$PATH:$(ruby -e 'puts Gem.user_dir')/bin"
bash/.bashrc
@@ -2,6 +2,6 @@
PS1="[\u@\h \W]\$ "
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }'printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"'
source /home/joel/.commonshell
source /usr/share/doc/pkgfile/command-not-found.bash
source ~/.commonshell
[ -r /usr/share/doc/pkgfile/command-not-found.bash ] && source /usr/share/doc/pkgfile/command-not-found.bash
[ -r /usr/share/bash-completion/bash_completion   ] && . /usr/share/bash-completion/bash_completion
zsh/.zshrc
@@ -12,9 +12,9 @@
unsetopt beep notify # Turn off terminal beeps
bindkey -e #Emacs mode
# common aliases
# common shell options
source ~/.commonshell
source /usr/share/doc/pkgfile/command-not-found.zsh
[ -f /usr/share/doc/pkgfile/command-not-found.zsh ] && source /usr/share/doc/pkgfile/command-not-found.zsh
# Make the delete key work normally
bindkey '^[[3~' delete-char