Update dotfiles/.bashrc, dotfiles/.profile, dotfiles/.zshrc

This commit is contained in:
Brian Zalewski 2022-10-28 08:27:45 +00:00
parent 27f8568f10
commit 5a306f5953
3 changed files with 8 additions and 9 deletions

View file

@ -1,6 +1,10 @@
#!/usr/bin/env bash
# shellcheck disable=SC1090,SC1091
# Prefer US English
export LANG="en_US"
export LC_ALL="en_US.UTF-8"
### Fig
if [ "$0" = 'bash' ] || [ "$0" = '/bin/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
eval "$(gdircolors -b "$HOME/.config/dircolors")"
fi
# Prefer US English
# export LC_ALL="en_US.UTF-8"
fi
### Miscellaneous

View file

@ -265,9 +265,6 @@ export EDITOR="vim"
# Dont clear the screen after quitting a manual page
export MANPAGER="less -X"
# Set language
# export LANG="en_US.UTF-8"
### .local/bin
export PATH="$PATH:$HOME/.local/bin"

View file

@ -1,6 +1,10 @@
#!/usr/bin/env zsh
# shellcheck disable=SC1090,SC1091,SC2034,SC2154,SC2296
# Prefer US English
export LANG="en_US"
export LC_ALL="en_US.UTF-8"
### Powerline
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
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")"
fi
# Prefer US English
export LC_ALL="en_US.UTF-8"
# ------------------------------- ZSH PLUGINS ---------------------------------
# Plugin source helper
_source_plugin() {