aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2023-10-16 12:32:49 +0200
committerCharles Cabergs <me@cacharle.xyz>2023-10-16 12:32:49 +0200
commit7b785f7e3f0710513938e055d0a201d8da50c394 (patch)
tree638b0cd851ecd36a203efd7cf7ff53e31ee3bda8 /config
parentd002dba0fbc1fa5f49a4e1108d18537dc8060f6a (diff)
downloaddotfiles-7b785f7e3f0710513938e055d0a201d8da50c394.tar.gz
dotfiles-7b785f7e3f0710513938e055d0a201d8da50c394.tar.bz2
dotfiles-7b785f7e3f0710513938e055d0a201d8da50c394.zip
Add cargo/bin to PATH, Change tmux config to use fish on linux
Diffstat (limited to 'config')
-rw-r--r--config/fish/config.fish1
-rw-r--r--config/mimeapps.list1
-rw-r--r--config/tmux/tmux.conf7
3 files changed, 8 insertions, 1 deletions
diff --git a/config/fish/config.fish b/config/fish/config.fish
index a58cb12..44a7d42 100644
--- a/config/fish/config.fish
+++ b/config/fish/config.fish
@@ -11,6 +11,7 @@ else if [ "$(uname)" = 'Darwin' ]
end
set -gx PATH "$PATH:$HOME/.local/share/go/bin"
+set -gx PATH "$PATH:$HOME/.local/share/cargo/bin"
set -gx PATH "$PATH:$HOME/.local/bin"
# applications
diff --git a/config/mimeapps.list b/config/mimeapps.list
index 2f7ada6..9198139 100644
--- a/config/mimeapps.list
+++ b/config/mimeapps.list
@@ -30,6 +30,7 @@ x-scheme-handler/https=qutebrowser.desktop
text/html=qutebrowser.desktop
application/xhtml_xml=qutebrowser.desktop
image/webp=qutebrowser.desktop
+x-scheme-handler/webcal=brave-browser.desktop
[Added Associations]
text/html=qutebrowser.desktop
diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf
index 5e72d64..8e10065 100644
--- a/config/tmux/tmux.conf
+++ b/config/tmux/tmux.conf
@@ -28,7 +28,12 @@ bind 'c' new-window -c "#{pane_current_path}"
bind R source-file ~/.config/tmux/tmux.conf
set -g status-right-length 100
-set -g default-shell /usr/local/bin/fish
+if-shell -b '[ "$(uname)" = Darwin ]' {
+ set -g default-shell /usr/local/bin/fish
+}
+if-shell -b '[ "$(uname)" = Linux ]' {
+ set -g default-shell /usr/bin/fish
+}
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'egel/tmux-gruvbox'