From 6a3c7a3f1f9115ea7adfe0f5ffb53f861a2fec40 Mon Sep 17 00:00:00 2001 From: Bruno Pinto <brunoferreirapinto@gmail.com> Date: Tue, 26 May 2015 14:14:37 +0100 Subject: [PATCH] remove deprecated _append_path function --- functions/_append_path.fish | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 functions/_append_path.fish diff --git a/functions/_append_path.fish b/functions/_append_path.fish deleted file mode 100644 index d37e6f3..0000000 --- a/functions/_append_path.fish +++ /dev/null @@ -1,19 +0,0 @@ -# Appends the path to the specified path list. If no list specified, -# defaults to $PATH -function _append_path - set_color red - echo '_append_path function deprecated. Rename to _prepend_path.' >&2 - set_color normal - - set -l path PATH - - if test (echo $argv | wc -w) -eq 2 - set path $argv[2] - end - - if test -d $argv[1] - if not contains $argv[1] $$path - set $path $argv[1] $$path - end - end -end -- GitLab