mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-11-29 04:20:25 +08:00
Merge pull request #346 from nesneros/master
Use BSD and Gnu compatible option for tail
This commit is contained in:
commit
62cdfbb7a3
1 file changed
+1
-1
+1
-1
@@ -18,7 +18,7 @@
|
||||
# helper function for completing available machines
|
||||
__machines() {
|
||||
declare -a machines_cmd
|
||||
machines_cmd=($(docker-machine ls|tail +2|awk '{print $1":"$3"("$4")"}'))
|
||||
machines_cmd=($(docker-machine ls|tail -n +2|awk '{print $1":"$3"("$4")"}'))
|
||||
_describe 'machines' machines_cmd
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user