From f6ab0b4d0775bd48ca10ca7f75522dfbd4fde175 Mon Sep 17 00:00:00 2001 From: Nicholas Maccharoli Date: Mon, 3 Aug 2015 01:52:52 +0900 Subject: [PATCH] Making spacing of .fish files uniform. --- share/functions/ll.fish | 1 - share/functions/math.fish | 1 - share/functions/open.fish | 2 -- share/functions/popd.fish | 1 - share/functions/psub.fish | 1 - share/functions/pushd.fish | 1 - share/functions/type.fish | 1 - share/functions/vared.fish | 1 - 8 files changed, 9 deletions(-) diff --git a/share/functions/ll.fish b/share/functions/ll.fish index 75d2ab2c8..d5aba9e57 100644 --- a/share/functions/ll.fish +++ b/share/functions/ll.fish @@ -4,4 +4,3 @@ function ll --description "List contents of directory using long format" ls -lh $argv end - diff --git a/share/functions/math.fish b/share/functions/math.fish index ced85aad4..b4f93e793 100644 --- a/share/functions/math.fish +++ b/share/functions/math.fish @@ -19,4 +19,3 @@ function math --description "Perform math calculations in bc" return 2 end - diff --git a/share/functions/open.fish b/share/functions/open.fish index 7a9b1e397..533b3df19 100644 --- a/share/functions/open.fish +++ b/share/functions/open.fish @@ -1,4 +1,3 @@ - # # This allows us to use 'open FILENAME' to open a given file in the default # application for the file. @@ -27,4 +26,3 @@ if not test (uname) = Darwin end end end - diff --git a/share/functions/popd.fish b/share/functions/popd.fish index b641a37d6..94114752b 100644 --- a/share/functions/popd.fish +++ b/share/functions/popd.fish @@ -18,4 +18,3 @@ function popd --description "Pop dir from stack" set -e dirstack[1] end - diff --git a/share/functions/psub.fish b/share/functions/psub.fish index 67863ad01..d19404493 100644 --- a/share/functions/psub.fish +++ b/share/functions/psub.fish @@ -1,5 +1,4 @@ - function psub --description "Read from stdin into a file and output the filename. Remove the file when the command that called psub exits." set -l filename diff --git a/share/functions/pushd.fish b/share/functions/pushd.fish index 0b60c4701..b34bd2f71 100644 --- a/share/functions/pushd.fish +++ b/share/functions/pushd.fish @@ -1,5 +1,4 @@ - function pushd --description 'Push directory to stack' if count $argv >/dev/null # check for --help diff --git a/share/functions/type.fish b/share/functions/type.fish index 5c48dcd03..02a843412 100644 --- a/share/functions/type.fish +++ b/share/functions/type.fish @@ -148,4 +148,3 @@ function type --description "Print the type of a command" return $res end - diff --git a/share/functions/vared.fish b/share/functions/vared.fish index bd2f1d428..97c233348 100644 --- a/share/functions/vared.fish +++ b/share/functions/vared.fish @@ -44,4 +44,3 @@ function vared --description "Edit variable value" printf (_ '%s: Expected exactly one argument, got %s.\n\nSynopsis:\n\t%svared%s VARIABLE\n') vared (count $argv) (set_color $fish_color_command; echo) (set_color $fish_color_normal; echo) end end -