Better method to set SHELL variable
This commit is contained in:
parent
f462daedbb
commit
328da26bc5
2 changed files with 3 additions and 5 deletions
3
.bashrc
3
.bashrc
|
|
@ -6,6 +6,9 @@ case $- in
|
|||
*) return;;
|
||||
esac
|
||||
|
||||
# Set shell envvar
|
||||
export SHELL=$(which bash)
|
||||
|
||||
# don't put duplicate lines or lines starting with space in the history.
|
||||
HISTCONTROL=ignoreboth
|
||||
|
||||
|
|
|
|||
5
.profile
5
.profile
|
|
@ -37,8 +37,3 @@ if [ $(which nvim) ]; then
|
|||
export EDITOR=nvim
|
||||
fi
|
||||
|
||||
# Set zsh as the default shell if available
|
||||
if [ $(which zsh) ]; then
|
||||
export SHELL=$(which zsh)
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue