From 0c064168e387c65a05bfaac1146c9ee63c53414a Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 2 Sep 2023 00:11:02 +0530 Subject: edited some paths --- .config/fish/config.fish | 2 +- .config/fish/fish_variables | 2 +- .config/fish/functions/sudo.fish | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .config/fish/functions/sudo.fish 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 -- cgit v1.2.3