Adding really dumb if statement for pc/laptop
This commit is contained in:
parent
c048f77717
commit
bc43c865e4
8
profile
8
profile
|
@ -5,7 +5,13 @@ export PATH="$HOME/.local/bin:$PATH"
|
||||||
export VIMINIT="source $HOME/.config/vim/vimrc"
|
export VIMINIT="source $HOME/.config/vim/vimrc"
|
||||||
|
|
||||||
# Let's set up our personal routes
|
# Let's set up our personal routes
|
||||||
export SCREENSHOT_DIR="/mnt/storage/screenshots"
|
hostname=$(hostname)
|
||||||
|
if [ "$hostname" = apsalar ]; then
|
||||||
|
dir="/mnt/storage/screenshots"
|
||||||
|
elif [ "$hostname" = hetan ]; then
|
||||||
|
dir="$HOME/Screenshots"
|
||||||
|
fi
|
||||||
|
export SCREENSHOT_DIR="$dir"
|
||||||
|
|
||||||
# Let's get some private environment vars
|
# Let's get some private environment vars
|
||||||
source $HOME/.profile.private
|
source $HOME/.profile.private
|
||||||
|
|
Loading…
Reference in New Issue