]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add bash helpers
authorEdward Delaporte <edward@delaporte.us>
Sat, 21 Sep 2024 02:24:02 +0000 (21:24 -0500)
committerEdward Delaporte <edward@delaporte.us>
Sun, 22 Sep 2024 23:39:37 +0000 (18:39 -0500)
files/profile
setup/bash.sh

index 40aa4dcab2ac6a41fe8685e94c658ef8ea504e9a..d89ea5a6e83a2956d7461b547fa0d7d68103b9c9 100644 (file)
@@ -4,9 +4,9 @@
 # see /usr/share/doc/bash/examples/startup-files for examples.
 # the files are located in the bash-doc package.
 
 # 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
 
 # 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
 if [ -d "$HOME/.local/bin" ] ; then
     PATH="$HOME/.local/bin:$PATH"
 fi
-
-
-# PyEnv
-# export PYENV_ROOT="/home/linuxbrew/.linuxbrew"
-# eval "$(pyenv init --path)"
index 101c7a3d9289bac34c2647c4c1fdbbe3fff0aa13..024cb3f7dbbd8a227ba77fdf9a289097d2890646 100755 (executable)
@@ -1,3 +1,5 @@
+mv ~/.bashrc ~/bashrc.bak
 ln -s ~/dotfiles/files/bashrc ~/.bashrc
 ln -s ~/dotfiles/files/bashrc ~/.bashrc
+mv ~/.profile ~/profile.bak
 ln -s ~/dotfiles/files/profile ~/.profile
 ln -s ~/dotfiles/files/profile ~/.profile
-ls -al ~/ | grep bash
\ No newline at end of file
+ls -al ~/ | grep bash