Browse Source

[install] also source .bashrc

master
rypel 5 months ago
parent
commit
db30bf997a
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      install.sh

+ 4
- 1
install.sh View File

@@ -1,7 +1,8 @@
#!/usr/bin/sh
set -e

FILES='.bashrc .editorconfig .gitconfig .vimrc'
SOURCEABLE='.bashrc'
FILES='$SOURCEABLE .editorconfig .gitconfig .vimrc'
HTOP_DIR='.config/htop'
HTOP_RC='htoprc'

@@ -10,3 +11,5 @@ cp -i $FILES $HOME
mkdir -p $HOME/$HTOP_DIR
cp -i $HTOP_DIR/$HTOP_RC $HOME/$HTOP_DIR/$HTOP_RC

# source it to shell
. $HOME/$SOURCEABLE

Loading…
Cancel
Save