summaryrefslogtreecommitdiffstats
path: root/.profile
diff options
context:
space:
mode:
Diffstat (limited to '.profile')
-rw-r--r--.profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/.profile b/.profile
index 4809ad1..42f079b 100644
--- a/.profile
+++ b/.profile
@@ -1,8 +1,8 @@
-#!/bin/sh
+#!/bin/bash
# Profile file. Runs on login.
# Adds `~/.scripts` and all subdirectories to $PATH
-export PATH="$(du $HOME/.scripts/ | cut -f2 | tr '\n' ':')$PATH"
+export PATH="$(du "$HOME/.scripts/" | cut -f2 | tr '\n' ':')$PATH"
export EDITOR="vim"
export TERMINAL="st"
export BROWSER="firefox"
@@ -24,7 +24,7 @@ export LESS_TERMCAP_ue=$'\E[0m' # reset underline
[ ! -f ~/.shortcuts ] && shortcuts >/dev/null 2>&1
-[ -f ~/.bashrc ] && source ~/.bashrc
+[ -f ~/.bashrc ] && source "$HOME/.bashrc"
# Start graphical server if i3 not already running.
[ "$(tty)" = "/dev/tty1" ] && ! pgrep -x i3 >/dev/null && exec startx