Add 'shred' alias, update cargo-flow

a9d77b9d1c08bc44cd2666394406aa1371073687
Alexis Sellier committed ago 1 parent d180031b
.zshrc +1 -0
75 75
alias netctl='sudo netctl'
76 76
alias vim=nvim
77 77
alias clip='xclip -sel clip'
78 78
alias irc='weechat'
79 79
alias cloc='tokei'
80 +
alias shred='shred -uvz'
80 81
81 82
export NNN_USE_EDITOR=1
82 83
83 84
#
84 85
# History
bin/cargo-flow-check +1 -1
2 2
3 3
# Shift process name parameter out.
4 4
shift
5 5
6 6
tmpfile=$(mktemp /tmp/cargo-flow.XXXXXX)
7 -
result="$(cargo $@ --color always --all 2>&1)"
7 +
result="$(cargo $@ --color always 2>&1)"
8 8
9 9
if [ "$?" -ne 0 ]; then
10 10
	# Display the results, but also output them to `errors.err`, which vim
11 11
	# can read, after stripping any ANSI escape sequences.
12 12
	echo -n "$result" | tee $tmpfile