Add zshrc and refactor shell configration
This commit is contained in:
parent
e23e66f801
commit
660a6e8eb5
4 changed files with 149 additions and 11 deletions
33
.profile
Normal file
33
.profile
Normal file
|
@ -0,0 +1,33 @@
|
|||
# ~/.profile: executed by the command interpreter for login shells.
|
||||
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
|
||||
# exists.
|
||||
# see /usr/share/doc/bash/examples/startup-files for examples.
|
||||
# the files are located in the bash-doc package.
|
||||
|
||||
# the default umask is set in /etc/profile; for setting the umask
|
||||
# for ssh logins, install and configure the libpam-umask package.
|
||||
#umask 022
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/bin" ] ; then
|
||||
PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
# set PATH so it includes user's private bin if it exists
|
||||
if [ -d "$HOME/.local/bin" ] ; then
|
||||
PATH="$HOME/.local/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -d "$HOME/.cargo/bin" ] ; then
|
||||
PATH="$HOME/.cargo/bin:$PATH"
|
||||
fi
|
||||
|
||||
if [ -d "${KREW_ROOT:-$HOME/.krew}/bin" ] ; then
|
||||
PATH="${KREW_ROOT:-$HOME/.krew}/bin:$PATH"
|
||||
fi
|
||||
|
||||
# Set nvim as the preferred editor if available
|
||||
if [ $(which nvim) ]; then
|
||||
export EDITOR=nvim
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue