From 277676e5d9aa17daab52b54f6fb052131c42349c Mon Sep 17 00:00:00 2001 From: Uttarayan Mondal Date: Mon, 21 Aug 2023 15:08:26 +0530 Subject: [PATCH] [fix] Add some stuff --- config/fish/completions/profile.fish | 0 config/fish/conf.d/linux/handlr.fish | 1 + config/fish/conf.d/os.fish | 8 ++++++-- config/fish/config.fish | 1 - config/tmux/tmux.conf | 1 + 5 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 config/fish/completions/profile.fish create mode 100644 config/fish/conf.d/linux/handlr.fish diff --git a/config/fish/completions/profile.fish b/config/fish/completions/profile.fish new file mode 100644 index 00000000..e69de29b diff --git a/config/fish/conf.d/linux/handlr.fish b/config/fish/conf.d/linux/handlr.fish new file mode 100644 index 00000000..25da8f2f --- /dev/null +++ b/config/fish/conf.d/linux/handlr.fish @@ -0,0 +1 @@ +export BROWSER="handlr" diff --git a/config/fish/conf.d/os.fish b/config/fish/conf.d/os.fish index 634df2e8..c16f57f7 100644 --- a/config/fish/conf.d/os.fish +++ b/config/fish/conf.d/os.fish @@ -1,7 +1,11 @@ switch (uname) case "Darwin" - source ~/.config/fish/conf.d/macos/* + for file in (ls ~/.config/fish/conf.d/macos/) + source ~/.config/fish/conf.d/macos/"$file" + end case "Linux" - source ~/.config/fish/conf.d/linux/* + for file in (ls ~/.config/fish/conf.d/linux/) + source ~/.config/fish/conf.d/linux/"$file" + end end diff --git a/config/fish/config.fish b/config/fish/config.fish index 7b432712..b2627af3 100644 --- a/config/fish/config.fish +++ b/config/fish/config.fish @@ -2,7 +2,6 @@ if status is-interactive macchina end -export BROWSER="handlr" export DYLD_FALLBACK_LIBRARY_PATH="/Library/Developer/CommandLineTools/usr/lib" export FZF_DEFAULT_COMMAND="fd --type f --hidden --exclude .git" export CARGO_TARGET_DIR="$HOME/.local/share/cargo-target" diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index a8ca1725..0e9a9d47 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -61,3 +61,4 @@ bind o set status bind-key -n C-\\ run-shell '~/.config/tmux/scratch' +if-shell 'uname | grep -q Darwin' { set -s copy-command 'pbcopy' }