aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/type.fish
diff options
context:
space:
mode:
authorGravatar Christopher Nilsson <christopher@otherchirps.net>2010-11-12 02:07:14 +1100
committerGravatar Christopher Nilsson <christopher@otherchirps.net>2010-11-12 02:07:14 +1100
commit1b0ce336693243054580e07b4514c598257d4422 (patch)
tree71af04f124f2853c0018e3c7d85e942591658910 /share/functions/type.fish
parent0cf2a1eb3382a6384b61a6edd577d387b9b62766 (diff)
parentb9b6e867df9718ec17d36f8cd6771cd9a337c46b (diff)
Merged changes from codemonkey and grissiom branches
Conflicts: kill.c seq.in
Diffstat (limited to 'share/functions/type.fish')
-rw-r--r--share/functions/type.fish10
1 files changed, 5 insertions, 5 deletions
diff --git a/share/functions/type.fish b/share/functions/type.fish
index f57c7fa8..0c25b7ff 100644
--- a/share/functions/type.fish
+++ b/share/functions/type.fish
@@ -28,14 +28,14 @@ function type --description "Print the type of a command"
switch $i
case -t --type
set mode type
-
+
case -p --path
set mode path
-
- case -P --force-path
+
+ case -P --force-path
set mode path
set selection files
-
+
case -a --all
set selection multi
@@ -54,7 +54,7 @@ function type --description "Print the type of a command"
# Check all possible types for the remaining arguments
for i in $argv
-
+
switch $i
case '-*'
continue