diff --git a/Makefile b/Makefile index b1e0211..80139cc 100644 --- a/Makefile +++ b/Makefile @@ -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`" \ No newline at end of file + echo "Dont forget to install tmux plugins by `C-s I`" diff --git a/src/.config/fish/config.fish b/src/.config/fish/config.fish new file mode 100644 index 0000000..063e489 --- /dev/null +++ b/src/.config/fish/config.fish @@ -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 <<< + diff --git a/src/.config/fish/fish_variables b/src/.config/fish/fish_variables new file mode 100644 index 0000000..9a1cc9b --- /dev/null +++ b/src/.config/fish/fish_variables @@ -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 diff --git a/src/.config/fish/functions/l.fish b/src/.config/fish/functions/l.fish new file mode 100644 index 0000000..70c3816 --- /dev/null +++ b/src/.config/fish/functions/l.fish @@ -0,0 +1,4 @@ +function l --wraps='ls -lah' --description 'alias l=ls -lah' + ls -lah $argv + +end diff --git a/src/.config/fish/functions/yt.fish b/src/.config/fish/functions/yt.fish new file mode 100644 index 0000000..9ffdfdb --- /dev/null +++ b/src/.config/fish/functions/yt.fish @@ -0,0 +1,3 @@ +function yt + docker run -v /home/osbm/Videos/:/downloads yt $argv +end