fish: rm functions cproj and cprac, modify config
Removed cproj and cprac because I use the 'pj' plugin now (omf) Removed redundant setting of clean state char because it is already set in fish_prompt
This commit is contained in:
parent
0737afb311
commit
9a6d08ea31
|
@ -1,4 +1,3 @@
|
|||
bass 'export GEM_HOME=$HOME/gems'
|
||||
bass 'export BROWSER=w3m'
|
||||
set -g __fish_git_prompt_char_cleanstate "="
|
||||
umask 0002
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
function cprac
|
||||
if test -e /mnt/c/Users/hedyh/codeprac/
|
||||
set -gx cprac_path /mnt/c/Users/hedyh/codeprac/
|
||||
else
|
||||
echo "codeprac path not found, please enter path: "
|
||||
read -gx cprac_path
|
||||
end
|
||||
if string length -q -- $argv
|
||||
if test -e $cprac_path$argv[1]
|
||||
cd $cprac_path$argv[1]
|
||||
else
|
||||
cd $cprac_path/*/$argv[1]/
|
||||
end
|
||||
else
|
||||
cd $cprac_path
|
||||
end
|
||||
end
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
function cproj
|
||||
if test -e /mnt/c/Users/hedyh/codeproj/
|
||||
set -gx cproj_path /mnt/c/Users/hedyh/codeproj/
|
||||
else
|
||||
echo "codeproj path not found, please enter path"
|
||||
read -gx cproj_path
|
||||
end
|
||||
if string length -q -- $argv
|
||||
cd $cproj_path$argv[1]
|
||||
else
|
||||
cd $cproj_path
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue