1
0
Fork 0
mirror of https://github.com/zdharma-continuum/zinit-configs.git synced 2025-01-31 04:08:16 +01:00
zinit-configs/NICHOLAS85/zinit/snippets/config/patches/dotbare.patch
vladislav doster 92f7b7ff82
maint: normalize configuration file names to be "zshrc" (#11)
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
2022-06-04 07:40:14 -05:00

24 lines
809 B
Diff

Allow dotbare to be symlinked
--- kazhala---dotbare/dotbare 2020-11-08 03:51:47.379765820 -0500
+++ kazhala---dotbare/dotbare-patch 2020-11-08 03:51:12.764122189 -0500
@@ -12,7 +12,7 @@
# option flags:
# check sub commands for available option flags
-mydir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+mydir="$(dirname -- "$(readlink -f -- "$BASH_SOURCE")")"
source "${mydir}"/helper/set_variable.sh
function usage() {
--- kazhala---dotbare/pkg/completion/zsh/_dotbare 2020-11-23 17:46:34.913377981 -0500
+++ kazhala---dotbare/pkg/completion/zsh/_dotbare.patch 2020-11-23 17:46:32.169435684 -0500
@@ -127,6 +127,9 @@
'(- : *)'{-h,--help}'[show help information]' \
&& ret=0
;;
+ *)
+ _normal
+ ;;
esac
;;
esac