Skip to content

Commit

Permalink
Move sourcing of shellrc.custom mixin to end of zshrc and bashrc files
Browse files Browse the repository at this point in the history
  • Loading branch information
Stratus3D committed May 27, 2024
1 parent b08386e commit f7c11a5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@ export PROMPT_COMMAND='if [ "$(id -u)" -ne 0 ]; then echo "$(date "+%Y-%m-%d.%H:

# Use vi mode
set -o vi

# Custom options
if [ -f "$HOME/dotfiles/mixins/shellrc.custom" ]; then
source "$HOME/dotfiles/mixins/shellrc.custom"
fi
5 changes: 0 additions & 5 deletions mixins/general
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ export PAGER='less'
export PERL_MB_OPT="--install_base \"$HOME/perl5\""; export PERL_MB_OPT;
export PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;

# Custom options
if [ -f "$HOME/dotfiles/mixins/shellrc.custom" ]; then
source "$HOME/dotfiles/mixins/shellrc.custom"
fi

# Erlang `erl` options
# +pc unicode - something related to display of unicode
# -kernel shell_history enabled - Enable shell history in the `erl` shell
Expand Down
5 changes: 5 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,8 @@ eval "$(navi widget zsh)"
# Load theme
source $HOME/dotfiles/zsh/theme.zsh
# Custom options
if [ -f "$HOME/dotfiles/mixins/shellrc.custom" ]; then
source "$HOME/dotfiles/mixins/shellrc.custom"
fi

0 comments on commit f7c11a5

Please sign in to comment.