diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-05-08 22:33:28 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2023-05-08 22:33:28 +0530 |
commit | 41cb70f0c34f263e56c2c9f62d9643dca8be64ba (patch) | |
tree | 3e7b586096db66987ae9e909ed3b3d2465b8b5ad /.config/fish | |
parent | 71462a9cacf57e8071e66635236dbf8c7d55b17d (diff) |
added neofetch to terminal
Diffstat (limited to '.config/fish')
-rw-r--r-- | .config/fish/config.fish | 75 | ||||
-rw-r--r-- | .config/fish/functions/da.fish | 3 | ||||
-rw-r--r-- | .config/fish/functions/dc.fish | 3 | ||||
-rw-r--r-- | .config/fish/functions/dcm.fish | 3 | ||||
-rw-r--r-- | .config/fish/functions/dp.fish | 3 | ||||
-rw-r--r-- | .config/fish/functions/ds.fish | 3 |
6 files changed, 37 insertions, 53 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 63b9a73..3e2fb0e 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,46 +1,45 @@ if status is-interactive - # Commands to run in interactive sessions can go here - starship init fish | source - # neofetch + # Commands to run in interactive sessions can go here + starship init fish | source - # abbreviations - abbr --add --global gA 'git add -A' - abbr --add --global ga 'git add' - abbr --add --global gc 'git commit' - abbr --add --global gcl 'git clone' - abbr --add --global gcm 'git commit -m' - abbr --add --global gp 'git push' - abbr --add --global gs 'git status' - abbr --add --global rF 'rm -rf' - abbr --add --global rM 'rm -f' - abbr --add --global rf 'rm -r' - abbr --add --global x 'chmod +x' - abbr -a gitssh 'ssh-add /home/zt/.ssh/MikunoNaka-GitHub' + neofetch - # general PATH - fish_add_path $HOME/.scripts - fish_add_path $HOME/.local/bin - fish_add_path $HOME/.emacs.d/bin - fish_add_path /usr/local/bin + # abbreviations + abbr --add --global gA 'git add -A' + abbr --add --global ga 'git add' + abbr --add --global gc 'git clone' + abbr --add --global gcm 'git commit -m' + abbr --add --global gp 'git push' + abbr --add --global gpl 'git pull' + abbr --add --global gs 'git status' + abbr --add --global rF 'rm -rf' + abbr --add --global rM 'rm -r' + abbr --add --global x 'chmod +x' - # PATH for different languages - fish_add_path $HOME/.gopath - fish_add_path $HOME/.local/flutter/bin + # general PATH + fish_add_path $HOME/.scripts + fish_add_path $HOME/.local/bin + fish_add_path $HOME/.emacs.d/bin + fish_add_path /usr/local/bin - set -x RUST_SRC_PATH $HOME/.cargo - set -x GOPATH $HOME/.gopath - set -x QT_QPA_PLATFORMTHEME "gtk2" + # PATH for different languages + fish_add_path $HOME/.gopath + fish_add_path $HOME/.local/flutter/bin - # default apps - set -x EDITOR "nvim" - set -x VISUAL "emacs" - set -x TERMINAL "alacritty" - set -x BROWSER "librewolf" - set -x READER "librewolf" - set -x COLORTERM "truecolor" - set -x PAGER "bat" + set -x RUST_SRC_PATH $HOME/.cargo + set -x GOPATH $HOME/.gopath + set -x QT_QPA_PLATFORMTHEME "gtk2" - # disable greeting - set fish_greeting - fish_ssh_agent + # default apps + set -x EDITOR "nvim" + set -x VISUAL "emacs" + set -x TERMINAL "alacritty" + set -x BROWSER "librewolf" + set -x READER "librewolf" + set -x COLORTERM "truecolor" + set -x PAGER "bat" + + # disable greeting + set fish_greeting + fish_ssh_agent end diff --git a/.config/fish/functions/da.fish b/.config/fish/functions/da.fish deleted file mode 100644 index b44316d..0000000 --- a/.config/fish/functions/da.fish +++ /dev/null @@ -1,3 +0,0 @@ -function da --wraps='dots add' --description 'alias da dots add' - dots add $argv; -end diff --git a/.config/fish/functions/dc.fish b/.config/fish/functions/dc.fish deleted file mode 100644 index a5fefb9..0000000 --- a/.config/fish/functions/dc.fish +++ /dev/null @@ -1,3 +0,0 @@ -function dc --wraps='dots commit' --description 'alias dc dots commit' - dots commit $argv; -end diff --git a/.config/fish/functions/dcm.fish b/.config/fish/functions/dcm.fish deleted file mode 100644 index 5ba3d7e..0000000 --- a/.config/fish/functions/dcm.fish +++ /dev/null @@ -1,3 +0,0 @@ -function dcm --wraps='dots commit -m' --description 'alias dcm dots commit -m' - dots commit -m $argv; -end diff --git a/.config/fish/functions/dp.fish b/.config/fish/functions/dp.fish deleted file mode 100644 index 82018ca..0000000 --- a/.config/fish/functions/dp.fish +++ /dev/null @@ -1,3 +0,0 @@ -function dp --wraps='dots push' --description 'alias dp dots push' - dots push $argv; -end diff --git a/.config/fish/functions/ds.fish b/.config/fish/functions/ds.fish deleted file mode 100644 index 32b0d2a..0000000 --- a/.config/fish/functions/ds.fish +++ /dev/null @@ -1,3 +0,0 @@ -function ds --wraps='dots status' --description 'alias ds dots status' - dots status $argv; -end |