repositories
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move some vim files, globstar in bash, tmux interactive pane move, add urls, better...
[dotfiles.git]
/
shell
/
.local
/
bin
/
cpm.sh
diff --git
a/shell/.local/bin/cpm.sh
b/shell/.local/bin/cpm.sh
index
86cccce
..
8a98a9d
100755
(executable)
--- a/
shell/.local/bin/cpm.sh
+++ b/
shell/.local/bin/cpm.sh
@@
-1,5
+1,6
@@
#!/bin/bash
set -e
#!/bin/bash
set -e
+set -o pipefail
cpm "$@" |& grep -v\
-e "^Warning: Multiple file instances: 'Makefile'"\
-e "^Analyzing"\
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:"
-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
if git rev-parse --show-toplevel 2>/dev/null
then