fix:
This commit is contained in:
+5
-2
@@ -24,12 +24,15 @@ function add_to_path
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function refish
|
function refish
|
||||||
echo "Updating fish configuration..."
|
echo "Updating fish configuration..."
|
||||||
source ~/.config/fish/config.fish
|
source ~/.config/fish/config.fish
|
||||||
echo "Fish configuration updated!"
|
echo "Fish configuration updated!"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
alias vifish="vim ~/.config/fish/custom.fish"
|
||||||
|
alias cdfish="cd ~/.config/fish/"
|
||||||
|
|
||||||
# set environment
|
# set environment
|
||||||
set paths_to_check /usr/sbin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /opt/bin /opt/sbin /usr/syno/sbin /usr/syno/bin /usr/local/sbin
|
set paths_to_check /usr/sbin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /opt/bin /opt/sbin /usr/syno/sbin /usr/syno/bin /usr/local/sbin
|
||||||
for path in $paths_to_check
|
for path in $paths_to_check
|
||||||
@@ -60,6 +63,7 @@ function reset_proxy
|
|||||||
echo "Proxy environment variables have been reset."
|
echo "Proxy environment variables have been reset."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# brew
|
# brew
|
||||||
set -gx HOMEBREW_BREW_GIT_REMOTE "https://mirrors.ustc.edu.cn/brew.git"
|
set -gx HOMEBREW_BREW_GIT_REMOTE "https://mirrors.ustc.edu.cn/brew.git"
|
||||||
@@ -116,4 +120,3 @@ end
|
|||||||
if status is-interactive
|
if status is-interactive
|
||||||
# Commands to run in interactive sessions can go here
|
# Commands to run in interactive sessions can go here
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
+862
-6472
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user