move some vim files, globstar in bash, tmux interactive pane move, add urls, better...
[dotfiles.git] / shell / .local / bin / cpm.sh
index 86cccce..8a98a9d 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/bash
 set -e
+set -o pipefail
 cpm "$@" |& grep -v\
        -e "^Warning: Multiple file instances: 'Makefile'"\
        -e "^Analyzing"\
@@ -8,10 +9,6 @@ cpm "$@" |& grep -v\
        -e "^]: is older than .abc file"\
        -e "^First found at:"\
        -e "^Also found at:"
-if [[ "${PIPESTATUS[0]}" -ne 0 ]]
-then
-       exit "${PIPESTATUS[0]}"
-fi
 
 if git rev-parse --show-toplevel 2>/dev/null
 then