add fish config

This commit is contained in:
Osman Faruk Bayram 2024-06-30 19:33:56 +03:00
parent d87a735e80
commit e961a7084f
5 changed files with 57 additions and 1 deletions

View file

@ -11,6 +11,7 @@ install-programs-pacman:
link:
ln -sf /home/osbm/Documents/dotfiles/src/.gitconfig ~/.gitconfig
ln -sf /home/osbm/Documents/dotfiles/src/.config/alacritty/ ~/.config/alacritty
ln -sf /home/osbm/Documents/dotfiles/src/.config/fish/ ~/.config/fish
ln -sf /home/osbm/Documents/dotfiles/src/.config/tmux ~/.config/tmux
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
echo "Dont forget to install tmux plugins by `C-s I`"
echo "Dont forget to install tmux plugins by `C-s I`"

View file

@ -0,0 +1,16 @@
if status is-interactive
# Commands to run in interactive sessions can go here
set -gx PATH /opt/cuda/bin $PATH
set -gx LD_LIBRARY_PATH /opt/cuda/lib64 $LD_LIBRARY_PATH
set -g fish_greeting
pyenv init - | source
zoxide init fish | source
end
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
# if test -f /home/osbm/.pyenv/versions/anaconda3-2023.03/bin/conda
# eval /home/osbm/.pyenv/versions/anaconda3-2023.03/bin/conda "shell.fish" "hook" $argv | source
# end
# <<< conda initialize <<<

View file

@ -0,0 +1,32 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR --export PYENV_ROOT:/home/osbm/\x2epyenv
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:brblack
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_key_bindings:fish_default_key_bindings
SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:yellow\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

View file

@ -0,0 +1,4 @@
function l --wraps='ls -lah' --description 'alias l=ls -lah'
ls -lah $argv
end

View file

@ -0,0 +1,3 @@
function yt
docker run -v /home/osbm/Videos/:/downloads yt $argv
end