From: Edward Delaporte Date: Sat, 21 Sep 2024 02:24:02 +0000 (-0500) Subject: Add bash helpers X-Git-Url: https://us-delaporte.pagekite.me/gitweb/dotfiles.git/commitdiff_plain/203159a9fbb3323ea559a63144b4d692434f0fca Add bash helpers --- diff --git a/files/profile b/files/profile index 40aa4dc..d89ea5a 100644 --- a/files/profile +++ b/files/profile @@ -4,9 +4,9 @@ # see /usr/share/doc/bash/examples/startup-files for examples. # the files are located in the bash-doc package. - -# Brew -# eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 # if running bash if [ -n "$BASH_VERSION" ]; then @@ -25,8 +25,3 @@ fi if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi - - -# PyEnv -# export PYENV_ROOT="/home/linuxbrew/.linuxbrew" -# eval "$(pyenv init --path)" diff --git a/setup/bash.sh b/setup/bash.sh index 101c7a3..024cb3f 100755 --- a/setup/bash.sh +++ b/setup/bash.sh @@ -1,3 +1,5 @@ +mv ~/.bashrc ~/bashrc.bak ln -s ~/dotfiles/files/bashrc ~/.bashrc +mv ~/.profile ~/profile.bak ln -s ~/dotfiles/files/profile ~/.profile -ls -al ~/ | grep bash \ No newline at end of file +ls -al ~/ | grep bash