AutoYADM commit: 2025-02-26 20:30:04
This commit is contained in:
parent
63bd4afb06
commit
ff6de15e67
15 changed files with 98 additions and 0 deletions
8
.config/fish/config.fish
Normal file
8
.config/fish/config.fish
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
if status is-interactive
|
||||||
|
# Commands to run in interactive sessions can go here
|
||||||
|
end
|
||||||
|
|
||||||
|
thefuck --alias | source
|
||||||
|
set -x PATH $HOME/.local/bin $PATH
|
||||||
|
# set -Ux TERM xterm-256color
|
||||||
|
# set -gx TERM xterm-256color
|
38
.config/fish/fish_variables
Normal file
38
.config/fish/fish_variables
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# This file contains fish universal variable definitions.
|
||||||
|
# VERSION: 3.0
|
||||||
|
SETUVAR EDITOR:hx
|
||||||
|
SETUVAR --export TERM:xterm\x2d256color
|
||||||
|
SETUVAR __fish_initialized:3400
|
||||||
|
SETUVAR cac_ip:172\x2e30\x2e90\x2e10
|
||||||
|
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||||
|
SETUVAR fish_color_cancel:\x2dr
|
||||||
|
SETUVAR fish_color_command:blue
|
||||||
|
SETUVAR fish_color_comment:red
|
||||||
|
SETUVAR fish_color_cwd:green
|
||||||
|
SETUVAR fish_color_cwd_root:red
|
||||||
|
SETUVAR fish_color_end:green
|
||||||
|
SETUVAR fish_color_error:brred
|
||||||
|
SETUVAR fish_color_escape:brcyan
|
||||||
|
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_host:normal
|
||||||
|
SETUVAR fish_color_host_remote:yellow
|
||||||
|
SETUVAR fish_color_normal:normal
|
||||||
|
SETUVAR fish_color_operator:brcyan
|
||||||
|
SETUVAR fish_color_param:cyan
|
||||||
|
SETUVAR fish_color_quote:yellow
|
||||||
|
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
|
||||||
|
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
|
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||||
|
SETUVAR fish_color_status:red
|
||||||
|
SETUVAR fish_color_user:brgreen
|
||||||
|
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||||
|
SETUVAR fish_greeting:
|
||||||
|
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||||
|
SETUVAR fish_pager_color_completion:normal
|
||||||
|
SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
|
||||||
|
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:/usr/local/bin
|
||||||
|
SETUVAR linode_ip:172\x2e105\x2e6\x2e137
|
||||||
|
SETUVAR wtw_ip:143\x2e198\x2e33\x2e56
|
4
.config/fish/functions/autosshtunnel.fish
Normal file
4
.config/fish/functions/autosshtunnel.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function autosshtunnel
|
||||||
|
start-ssh-agent
|
||||||
|
tmux new-session -d 'autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -R 1675:ibox:22 isa@172.105.6.137'
|
||||||
|
end
|
3
.config/fish/functions/c.fish
Normal file
3
.config/fish/functions/c.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function c
|
||||||
|
clear
|
||||||
|
end
|
4
.config/fish/functions/cat.fish
Normal file
4
.config/fish/functions/cat.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function cat --wraps=bat --description 'alias cat=bat'
|
||||||
|
bat $argv
|
||||||
|
|
||||||
|
end
|
4
.config/fish/functions/cl.fish
Normal file
4
.config/fish/functions/cl.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function cl
|
||||||
|
cd $argv
|
||||||
|
ls
|
||||||
|
end
|
3
.config/fish/functions/copy_file.fish
Normal file
3
.config/fish/functions/copy_file.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function copy
|
||||||
|
xclip -sel clip < $argv
|
||||||
|
end
|
3
.config/fish/functions/fix_display.fish
Normal file
3
.config/fish/functions/fix_display.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function fix_display
|
||||||
|
xrandr --output DisplayPort-0 --mode 1920x1080 -r 143.98
|
||||||
|
end
|
8
.config/fish/functions/icat.fish
Normal file
8
.config/fish/functions/icat.fish
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
function icat
|
||||||
|
if test (count $argv) -eq 0
|
||||||
|
echo "Missing required argument"
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
set ipath $argv[1]
|
||||||
|
kitty +kitten icat --align=left $ipath
|
||||||
|
end
|
4
.config/fish/functions/ls.fish
Normal file
4
.config/fish/functions/ls.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function ls --wraps='exa --long --git --header --icons' --description 'alias ls=exa --long --git --header --icons'
|
||||||
|
exa --long --git --header --icons $argv
|
||||||
|
|
||||||
|
end
|
4
.config/fish/functions/r.fish
Normal file
4
.config/fish/functions/r.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function r --wraps=ranger --description 'alias r=ranger'
|
||||||
|
ranger $argv
|
||||||
|
|
||||||
|
end
|
3
.config/fish/functions/sshtunnel.fish
Normal file
3
.config/fish/functions/sshtunnel.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function sshtunnel
|
||||||
|
ssh -R 1675:ibox:22 isa@172.105.6.137
|
||||||
|
end
|
4
.config/fish/functions/start-ssh-agent.fish
Normal file
4
.config/fish/functions/start-ssh-agent.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function start-ssh-agent
|
||||||
|
eval (ssh-agent -c)
|
||||||
|
ssh-add /home/isa/.ssh/id_rsa
|
||||||
|
end
|
4
.config/fish/functions/vim.fish
Normal file
4
.config/fish/functions/vim.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function vim --wraps=nvim --description 'alias vim=nvim'
|
||||||
|
nvim $argv
|
||||||
|
|
||||||
|
end
|
4
.config/fish/functions/watch_dir.fish
Normal file
4
.config/fish/functions/watch_dir.fish
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
function watch_dir
|
||||||
|
set -q argv[1]; or set argv[1] "."
|
||||||
|
watch -d=cumulative ls -a $argv[1]
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue