fix: fix #479
This commit is contained in:
1 parent
ab2f0ec6fb
commit
2fe4407830
1 file changed
+1
-1
@@ -372,7 +372,7 @@ EOF
|
||||
}
|
||||
_revoke_rc() {
|
||||
_detect_rc
|
||||
sed -i.bak "/$start_flag/,/$end_flag/d" "$SHELL_RC_BASH" "$SHELL_RC_ZSH" 2>/dev/null
|
||||
sed -i --follow-symlinks "/$start_flag/,/$end_flag/d" "$SHELL_RC_BASH" "$SHELL_RC_ZSH" 2>/dev/null
|
||||
[ -n "$SHELL_RC_FISH" ] && rm -f "$SHELL_RC_FISH" 2>/dev/null
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user