From f7e739917936fc4cf95ae2c6e194b00154af3c55 Mon Sep 17 00:00:00 2001 From: Olivier CHURLAUD Date: Tue, 17 Sep 2019 10:55:15 +0200 Subject: [PATCH] add scripts in path --- config/zsh/zshrc | 2 +- scripts/decrypt_dir.sh | 2 +- scripts/encrypt_dir.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/zsh/zshrc b/config/zsh/zshrc index 82b3017..237a660 100644 --- a/config/zsh/zshrc +++ b/config/zsh/zshrc @@ -132,7 +132,7 @@ zstyle ':completion:*:kill:*' force-list always zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' CDPATH=.:~:~/git -PATH=$PATH:~/.local/bin +PATH=$PATH:~/.local/bin:~/.my_scripts_configs/scripts #I want my umask 0027 if I'm not root if [[ $(whoami) = root ]]; then diff --git a/scripts/decrypt_dir.sh b/scripts/decrypt_dir.sh index 569b7a1..cbd2bd0 100755 --- a/scripts/decrypt_dir.sh +++ b/scripts/decrypt_dir.sh @@ -1,7 +1,7 @@ #! /bin/sh function usage() { - echo "Usage: ./decrypt_dir.sh INPUT OUTPUT" + echo "Usage: decrypt_dir.sh INPUT OUTPUT" exit $1 } diff --git a/scripts/encrypt_dir.sh b/scripts/encrypt_dir.sh index 45c59f5..8e8afb8 100755 --- a/scripts/encrypt_dir.sh +++ b/scripts/encrypt_dir.sh @@ -1,7 +1,7 @@ #! /bin/sh function usage() { - echo "Usage: ./encrypt_dir.sh INPUT OUTPUT" + echo "Usage: encrypt_dir.sh INPUT OUTPUT" exit $1 }