mystery commit
This commit is contained in:
1
.bashrc
1
.bashrc
@@ -115,4 +115,5 @@ if ! shopt -oq posix; then
|
|||||||
. /etc/bash_completion
|
. /etc/bash_completion
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias config='/usr/bin/git --git-dir=/home/ole/.cfg/ --work-tree=/home/ole'
|
alias config='/usr/bin/git --git-dir=/home/ole/.cfg/ --work-tree=/home/ole'
|
||||||
|
|||||||
4
.vimrc
4
.vimrc
@@ -40,3 +40,7 @@ autocmd filetype c nnoremap <F5> :w <bar> exec '!gcc '.shellescape('%').' -lm -o
|
|||||||
set background=light
|
set background=light
|
||||||
set termguicolors
|
set termguicolors
|
||||||
colorscheme melange
|
colorscheme melange
|
||||||
|
|
||||||
|
" Save swap and undo and backup files in separate directory
|
||||||
|
set directory=$HOME/.vim/swapfiles//
|
||||||
|
set backupdir=$HOME/.vim/backups//
|
||||||
|
|||||||
32
.zshrc
32
.zshrc
@@ -91,22 +91,22 @@ if [ -n "$force_color_prompt" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
configure_prompt() {
|
configure_prompt() {
|
||||||
prompt_symbol=@
|
PROMPT=' %(?.%B%F{blue}🐢.%F{red}?%?)%f %B%F{240}%1~%f%b '
|
||||||
[ "$EUID" -eq 0 ] && prompt_symbol=@
|
# prompt_symbol=@
|
||||||
case "$PROMPT_ALTERNATIVE" in
|
# [ "$EUID" -eq 0 ] && prompt_symbol=@
|
||||||
twoline)
|
# case "$PROMPT_ALTERNATIVE" in
|
||||||
PROMPT=' %(?.%B%F{blue}🐢.%F{red}?%?)%f %B%F{240}%1~%f%b '
|
# twoline)
|
||||||
RPROMPT=''
|
# RPROMPT=''
|
||||||
;;
|
# ;;
|
||||||
oneline)
|
# oneline)
|
||||||
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.blue)}%n@%m%b%F{reset}:%B%F{%(#.blue.green)}%~%b%F{reset}%(#.#.$) '
|
# PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{%(#.red.blue)}%n@%m%b%F{reset}:%B%F{%(#.blue.green)}%~%b%F{reset}%(#.#.$) '
|
||||||
RPROMPT=
|
# RPROMPT=
|
||||||
;;
|
# ;;
|
||||||
backtrack)
|
# backtrack)
|
||||||
PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{red}%n@%m%b%F{reset}:%B%F{blue}%~%b%F{reset}%(#.#.$) '
|
# PROMPT=$'${debian_chroot:+($debian_chroot)}${VIRTUAL_ENV:+($(basename $VIRTUAL_ENV))}%B%F{red}%n@%m%b%F{reset}:%B%F{blue}%~%b%F{reset}%(#.#.$) '
|
||||||
RPROMPT=
|
# RPROMPT=
|
||||||
;;
|
# ;;
|
||||||
esac
|
# esac
|
||||||
}
|
}
|
||||||
|
|
||||||
# The following block is surrounded by two delimiters.
|
# The following block is surrounded by two delimiters.
|
||||||
|
|||||||
Reference in New Issue
Block a user