From 203159a9fbb3323ea559a63144b4d692434f0fca Mon Sep 17 00:00:00 2001 From: Edward Delaporte Date: Fri, 20 Sep 2024 21:24:02 -0500 Subject: [PATCH] Add bash helpers --- files/profile | 11 +++-------- setup/bash.sh | 4 +++- 2 files changed, 6 insertions(+), 9 deletions(-) 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 -- 2.47.3