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:
Hedy Li 2021-01-01 17:02:58 +08:00
parent 0737afb311
commit 9a6d08ea31
3 changed files with 0 additions and 33 deletions

View File

@ -1,4 +1,3 @@
bass 'export GEM_HOME=$HOME/gems'
bass 'export BROWSER=w3m'
set -g __fish_git_prompt_char_cleanstate "="
umask 0002

View File

@ -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

View File

@ -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