fish: functions: Remove tmux and some git aliases

We will introduce equivalent ones with abbreviations.
This commit is contained in:
Sanchayan Maity 2023-05-09 15:25:16 +05:30
parent 1b5a8f5edb
commit 6474278ca1
Signed by: sanchayanmaity
GPG key ID: 6F6A0609C12038F3
8 changed files with 0 additions and 27 deletions

View file

@ -1,3 +0,0 @@
function gd
git diff $argv
end

View file

@ -1,3 +0,0 @@
function gf
git fetch --all --tags -f
end

View file

@ -1,3 +0,0 @@
function gs --wraps='git status'
git status
end

View file

@ -1,3 +0,0 @@
function gsv --wraps='git status'
git status --verbose
end

View file

@ -1,6 +0,0 @@
function ta --description 'Attaches to a selected session'
set session (tmux list-sessions | fzf | awk -F':' '{print $1}')
if test -n "$session"
tmux attach -t $session
end
end

View file

@ -1,3 +0,0 @@
function tks --wraps='tmux kill-server' --description 'alias tks=tmux kill-server'
tmux kill-server $argv
end

View file

@ -1,3 +0,0 @@
function tksa --wraps='tmux kill-session -a' --description 'alias tksa=tmux kill-session -a'
tmux kill-session -a $argv
end

View file

@ -1,3 +0,0 @@
function tls --wraps='tmux ls' --description 'alias tls=tmux ls'
tmux ls $argv
end