Quote variable expansions in rc scripts
This commit is contained in:
@@ -1 +1 @@
|
||||
append_path_try $HOME/.local/bin
|
||||
append_path_try "$HOME/.local/bin"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
_INIT_FILE=$WORKSPACE/opt/enhancd/init.sh
|
||||
_INIT_FILE="$WORKSPACE/opt/enhancd/init.sh"
|
||||
|
||||
if [[ -f $_INIT_FILE ]]; then
|
||||
source $_INIT_FILE
|
||||
source "$_INIT_FILE"
|
||||
unalias cd
|
||||
alias ecd="__enhancd::cd"
|
||||
fi
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
|
||||
CRYPTED_DIR=$HOME/Sync/safe
|
||||
DECRYPTED_DIR=$HOME/mnt/safe
|
||||
CRYPTED_DIR="$HOME/Sync/safe"
|
||||
DECRYPTED_DIR="$HOME/mnt/safe"
|
||||
|
||||
function safe-mount() {
|
||||
gocryptfs $CRYPTED_DIR $DECRYPTED_DIR
|
||||
gocryptfs "$CRYPTED_DIR" "$DECRYPTED_DIR"
|
||||
}
|
||||
|
||||
function safe-unmount() {
|
||||
fusermount -u $DECRYPTED_DIR
|
||||
fusermount -u "$DECRYPTED_DIR"
|
||||
}
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
$WORKSPACE/scripts/changes.sh
|
||||
"$WORKSPACE/scripts/changes.sh"
|
||||
|
||||
Reference in New Issue
Block a user