Update dotfiles/.bashrc, dotfiles/.profile, dotfiles/.zshrc
This commit is contained in:
parent
27f8568f10
commit
5a306f5953
3 changed files with 8 additions and 9 deletions
|
@ -1,6 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# shellcheck disable=SC1090,SC1091
|
# shellcheck disable=SC1090,SC1091
|
||||||
|
|
||||||
|
# Prefer US English
|
||||||
|
export LANG="en_US"
|
||||||
|
export LC_ALL="en_US.UTF-8"
|
||||||
|
|
||||||
### Fig
|
### Fig
|
||||||
if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
|
if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
|
||||||
if [ -f "$HOME/.fig/shell/bashrc.pre.bash" ]; then
|
if [ -f "$HOME/.fig/shell/bashrc.pre.bash" ]; then
|
||||||
|
@ -154,9 +158,6 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
|
||||||
if type gdircolors &>/dev/null && [ -f "$HOME/.config/dircolors" ]; then
|
if type gdircolors &>/dev/null && [ -f "$HOME/.config/dircolors" ]; then
|
||||||
eval "$(gdircolors -b "$HOME/.config/dircolors")"
|
eval "$(gdircolors -b "$HOME/.config/dircolors")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prefer US English
|
|
||||||
# export LC_ALL="en_US.UTF-8"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Miscellaneous
|
### Miscellaneous
|
||||||
|
|
|
@ -265,9 +265,6 @@ export EDITOR="vim"
|
||||||
# Don’t clear the screen after quitting a manual page
|
# Don’t clear the screen after quitting a manual page
|
||||||
export MANPAGER="less -X"
|
export MANPAGER="less -X"
|
||||||
|
|
||||||
# Set language
|
|
||||||
# export LANG="en_US.UTF-8"
|
|
||||||
|
|
||||||
### .local/bin
|
### .local/bin
|
||||||
export PATH="$PATH:$HOME/.local/bin"
|
export PATH="$PATH:$HOME/.local/bin"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
#!/usr/bin/env zsh
|
#!/usr/bin/env zsh
|
||||||
# shellcheck disable=SC1090,SC1091,SC2034,SC2154,SC2296
|
# shellcheck disable=SC1090,SC1091,SC2034,SC2154,SC2296
|
||||||
|
|
||||||
|
# Prefer US English
|
||||||
|
export LANG="en_US"
|
||||||
|
export LC_ALL="en_US.UTF-8"
|
||||||
|
|
||||||
### Powerline
|
### Powerline
|
||||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||||
|
@ -163,9 +167,6 @@ if type gdircolors &> /dev/null && [ -f "$HOME/.config/dircolors" ]; then
|
||||||
eval "$(gdircolors -b "$HOME/.config/dircolors")"
|
eval "$(gdircolors -b "$HOME/.config/dircolors")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prefer US English
|
|
||||||
export LC_ALL="en_US.UTF-8"
|
|
||||||
|
|
||||||
# ------------------------------- ZSH PLUGINS ---------------------------------
|
# ------------------------------- ZSH PLUGINS ---------------------------------
|
||||||
# Plugin source helper
|
# Plugin source helper
|
||||||
_source_plugin() {
|
_source_plugin() {
|
||||||
|
|
Loading…
Reference in a new issue