Update dotfiles/.profile, dotfiles/.bashrc, dotfiles/.zshrc
This commit is contained in:
parent
d731cea0db
commit
67b6cb3071
3 changed files with 28 additions and 19 deletions
|
@ -143,6 +143,15 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
|
|||
PS1="\n \[\033[0;34m\]╭─\[\033[0;31m\]\[\033[0;37m\]\[\033[41m\] $OS_ICON \u \[\033[0m\]\[\033[0;31m\]\[\033[44m\]\[\033[0;34m\]\[\033[44m\]\[\033[0;30m\]\[\033[44m\] \w \[\033[0m\]\[\033[0;34m\] \n \[\033[0;34m\]╰ \[\033[1;36m\]\$ \[\033[0m\]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# https://github.com/trapd00r/LS_COLORS
|
||||
command -v gdircolors >/dev/null 2>&1 || alias gdircolors="dircolors"
|
||||
if type gdircolors &> /dev/null && [ -f "$HOME/.config/dircolors" ]; then
|
||||
eval "$(gdircolors -b "$HOME/.config/dircolors")"
|
||||
fi
|
||||
|
||||
# Prefer US English
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
fi
|
||||
|
||||
### Miscellaneous
|
||||
|
|
|
@ -229,18 +229,9 @@ export EDITOR="vim"
|
|||
# Don’t clear the screen after quitting a manual page
|
||||
export MANPAGER="less -X"
|
||||
|
||||
# Prefer US English and use UTF-8
|
||||
if [ -e locale-gen ]; then
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
fi
|
||||
# Set language
|
||||
export LANG="en_US"
|
||||
|
||||
# https://github.com/trapd00r/LS_COLORS
|
||||
command -v gdircolors >/dev/null 2>&1 || alias gdircolors="dircolors"
|
||||
if type gdircolors &> /dev/null && [ -f "$HOME/.config/dircolors" ]; then
|
||||
eval "$(gdircolors -b "$HOME/.config/dircolors")"
|
||||
fi
|
||||
|
||||
### .local/bin
|
||||
export PATH="$PATH:$HOME/.local/bin"
|
||||
|
||||
|
|
|
@ -151,6 +151,15 @@ xterm*|rxvt*|Eterm|aterm|kterm|gnome*|alacritty)
|
|||
;;
|
||||
esac
|
||||
|
||||
# https://github.com/trapd00r/LS_COLORS
|
||||
command -v gdircolors >/dev/null 2>&1 || alias gdircolors="dircolors"
|
||||
if type gdircolors &> /dev/null && [ -f "$HOME/.config/dircolors" ]; then
|
||||
eval "$(gdircolors -b "$HOME/.config/dircolors")"
|
||||
fi
|
||||
|
||||
# Prefer US English
|
||||
export LC_ALL="en_US.UTF-8"
|
||||
|
||||
# ------------------------------- ZSH PLUGINS ---------------------------------
|
||||
# Plugin source helper
|
||||
_source_plugin() {
|
||||
|
|
Loading…
Reference in a new issue