From 00787908461f6e37bc37a1208f39c1010bd7a72c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Fri, 9 Aug 2024 15:37:10 +0200 Subject: [PATCH] fish: add things to path --- .bashrc | 42 ---------------------------------------- .config/fish/config.fish | 7 +++++++ goog | 1 - 3 files changed, 7 insertions(+), 43 deletions(-) delete mode 100644 .bashrc diff --git a/.bashrc b/.bashrc deleted file mode 100644 index d968370..0000000 --- a/.bashrc +++ /dev/null @@ -1,42 +0,0 @@ -# .bashrc - -# If not running interactively, don't do anything -[[ $- != *i* ]] && return - -# Aliases -alias ls="lsd" -alias cat="bat" -alias s="kitten ssh" - -PS1='[\u@\h \W]\$ ' - -# bun -export BUN_INSTALL="$HOME/.bun" -export PATH=$BUN_INSTALL/bin:$PATH:~/.local/bin:~/go/bin:~/.wakatime -. "$HOME/.cargo/env" - -# rbenv -export PATH="/home/hyro/.rbenv/shims:${PATH}" -export RBENV_SHELL=bash -command rbenv rehash 2>/dev/null -rbenv() { - local command - command="${1:-}" - if [ "$#" -gt 0 ]; then - shift - fi - - case "$command" in - rehash|shell) - eval "$(rbenv "sh-$command" "$@")";; - *) - command rbenv "$command" "$@";; - esac -} - -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion - -# moon -export PATH="$HOME/.moon/bin:$PATH" diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 909a70e..f8361f8 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1 +1,8 @@ set -g fish_greeting + +alias ls="lsd" +alias cat="bat" +alias s="kitten ssh" + + +fish_add_path -g ~/.bun/bin ~/.local/bin ~/go/bin ~/.wakatime ~/.rbenv/shims ~/.moon/bin ~/.cargo/bin diff --git a/goog b/goog index 2cf7f09..d82fddd 100755 --- a/goog +++ b/goog @@ -11,7 +11,6 @@ stuff: list[str] = [ *expand("~/.config/{fish,kitty,nvim,pipewire,sway,swaylock,zed}/**"), "~/.icons/**", *expand("~/.local/bin/{yarn}"), - "~/.bashrc", "~/.profile", ]