mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 22:09:25 +00:00
Only one newline at end of file
This commit is contained in:
@ -156,4 +156,3 @@ Authors
|
||||
- [Sorin Ionescu](https://github.com/sorin-ionescu)
|
||||
|
||||
[1]: https://github.com/sorin-ionescu/prezto/issues
|
||||
|
||||
|
@ -9,4 +9,3 @@
|
||||
#
|
||||
|
||||
_cd
|
||||
|
||||
|
@ -9,4 +9,3 @@
|
||||
#
|
||||
|
||||
_du
|
||||
|
||||
|
@ -11,4 +11,3 @@
|
||||
local expl
|
||||
|
||||
_wanted directories expl 'directory' _path_files -/ || _message 'directory'
|
||||
|
||||
|
@ -16,4 +16,3 @@ _arguments \
|
||||
'-x[ignore whitespace and comments]' \
|
||||
'1::pattern:' \
|
||||
'2::files:_files' && return 0
|
||||
|
||||
|
@ -17,4 +17,3 @@ _arguments \
|
||||
'1::pattern:' \
|
||||
'2::replacement:' \
|
||||
'3::files:_files' && return 0
|
||||
|
||||
|
@ -20,4 +20,3 @@ function diff {
|
||||
}
|
||||
|
||||
diff "$@"
|
||||
|
||||
|
@ -25,4 +25,3 @@ function dut {
|
||||
}
|
||||
|
||||
dut "$@"
|
||||
|
||||
|
@ -18,4 +18,3 @@ function make {
|
||||
}
|
||||
|
||||
make "$@"
|
||||
|
||||
|
@ -50,4 +50,3 @@ pattern="$1"
|
||||
shift
|
||||
|
||||
perl -n -l -e "print if ${invert:+not} m/${pattern//\//\\/}/${modifiers}" "$@"
|
||||
|
||||
|
@ -51,4 +51,3 @@ replacement="$2"
|
||||
repeat 2 shift
|
||||
|
||||
perl -i'.orig' -n -l -e "s/${pattern//\//\\/}/${replacement//\//\\/}/${modifiers}; print" "$@"
|
||||
|
||||
|
@ -27,4 +27,3 @@ function wdiff {
|
||||
}
|
||||
|
||||
wdiff "$@"
|
||||
|
||||
|
@ -185,4 +185,3 @@ function find-exec {
|
||||
function psu {
|
||||
ps -U "${1:-$USER}" -o 'pid,%cpu,%mem,command' "${(@)argv[2,-1]}"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user