aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-01-03 06:12:39 -0200
committerEuAndreh <eu@euandre.org>2019-01-03 06:42:41 -0200
commitb679e7d91f7af2d97bead966a17b715cdb020b1a (patch)
tree71926893088a93513971d950d5a19b012722fedf /bash/bashrc.sh
parentAdd custom nu gitconfig options in nugitconfig.ini file. (diff)
downloaddotfiles-b679e7d91f7af2d97bead966a17b715cdb020b1a.tar.gz
dotfiles-b679e7d91f7af2d97bead966a17b715cdb020b1a.tar.xz
Fix shellcheck ofsenses on bash scripts.
Diffstat (limited to '')
-rw-r--r--bash/bashrc.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/bash/bashrc.sh b/bash/bashrc.sh
index d06692b..a895df1 100644
--- a/bash/bashrc.sh
+++ b/bash/bashrc.sh
@@ -1,3 +1,5 @@
+#!/usr/bin/env bash
+
export DOTFILES=~/annex/dev/code/dotfiles
source $DOTFILES/bash/platform.sh
@@ -10,7 +12,6 @@ source $DOTFILES/bash/agents.sh
source $DOTFILES/bash/init.sh
source $DOTFILES/bash/symlinks.sh
source $DOTFILES/bash/youtube.sh
-source $DOTFILES/bash/tmuxinator-templates.sh
source $DOTFILES/bash/facepalm/rotten-apple.sh
source $DOTFILES/bash/npm.sh
source $DOTFILES/bash/x.sh
@@ -28,7 +29,7 @@ export PATH="$HOME/annex/dev/code/songbooks/cli:$PATH"
alias sb="songbooks"
isLinux && {
- source "$(dirname $(readlink $(which autojump)))/../share/autojump/autojump.bash"
+ source "$(dirname "$(readlink "$(command -v autojump)")")/../share/autojump/autojump.bash"
}
export PATH="$HOME/.perl6/bin:$PATH"