aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-02 00:11:02 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-02 00:11:02 +0530
commit0c064168e387c65a05bfaac1146c9ee63c53414a (patch)
tree11344b953a88d7cd5de9bf840f0da22996d7fe7a
parent930547120822b59d6d7ceb42c9a570f06e4f6232 (diff)
edited some paths
-rw-r--r--.config/fish/config.fish2
-rw-r--r--.config/fish/fish_variables2
-rw-r--r--.config/fish/functions/sudo.fish3
3 files changed, 5 insertions, 2 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish
index 3e2fb0e..3eec21e 100644
--- a/.config/fish/config.fish
+++ b/.config/fish/config.fish
@@ -19,7 +19,7 @@ if status is-interactive
# general PATH
fish_add_path $HOME/.scripts
fish_add_path $HOME/.local/bin
- fish_add_path $HOME/.emacs.d/bin
+ fish_add_path $HOME/.config/emacs/bin
fish_add_path /usr/local/bin
# PATH for different languages
diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables
index b6d1163..648dd0d 100644
--- a/.config/fish/fish_variables
+++ b/.config/fish/fish_variables
@@ -41,4 +41,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
-SETUVAR fish_user_paths:/opt/android\x2dsdk/cmdline\x2dtools/latest/bin\x1e/home/zt/\x2eflutterpath/bin\x1e/home/zt/\x2egopath/bin\x1e/home/zt/\x2egopath\x1e/usr/local/bin\x1e/home/zt/\x2eemacs\x2ed/bin\x1e/home/zt/\x2elocal/bin\x1e/home/zt/\x2escripts
+SETUVAR fish_user_paths:/home/zt/\x2egopath\x1e/usr/local/bin\x1e/home/zt/\x2econfig/emacs/bin\x1e/home/zt/\x2elocal/bin\x1e/home/zt/\x2escripts
diff --git a/.config/fish/functions/sudo.fish b/.config/fish/functions/sudo.fish
new file mode 100644
index 0000000..acfb49f
--- /dev/null
+++ b/.config/fish/functions/sudo.fish
@@ -0,0 +1,3 @@
+function sudo --wraps='sudo' --description 'use doas instead of sudo'
+ doas $argv;
+end