You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While having set -o noclobber in my .bashrc, bashmarks start to get errors while adding marks
After changing the # purge line in the function _purge_line from
sed "/$2/d" "$1" > "$t"
to
sed "/$2/d" "$1" >| "$t"
it works.
I suggest a function that checks if the noclobber option is set while the script is sourced and adjust the script true a variable if it is.
If a script is run normally the "noclobber" option does not concern but as this script loads with the shell it would be good if it took this option in to concern.
The text was updated successfully, but these errors were encountered:
While having set -o noclobber in my .bashrc, bashmarks start to get errors while adding marks
After changing the # purge line in the function _purge_line from
sed "/$2/d" "$1" > "$t"
to
sed "/$2/d" "$1" >| "$t"
it works.
I suggest a function that checks if the noclobber option is set while the script is sourced and adjust the script true a variable if it is.
If a script is run normally the "noclobber" option does not concern but as this script loads with the shell it would be good if it took this option in to concern.
The text was updated successfully, but these errors were encountered: