mirror of
https://github.com/xHyroM/dotfiles.git
synced 2024-11-22 14:41:05 +01:00
fish: add things to path
This commit is contained in:
parent
520e72b31a
commit
0078790846
3 changed files with 7 additions and 43 deletions
42
.bashrc
42
.bashrc
|
@ -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"
|
|
|
@ -1 +1,8 @@
|
||||||
set -g fish_greeting
|
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
|
||||||
|
|
1
goog
1
goog
|
@ -11,7 +11,6 @@ stuff: list[str] = [
|
||||||
*expand("~/.config/{fish,kitty,nvim,pipewire,sway,swaylock,zed}/**"),
|
*expand("~/.config/{fish,kitty,nvim,pipewire,sway,swaylock,zed}/**"),
|
||||||
"~/.icons/**",
|
"~/.icons/**",
|
||||||
*expand("~/.local/bin/{yarn}"),
|
*expand("~/.local/bin/{yarn}"),
|
||||||
"~/.bashrc",
|
|
||||||
"~/.profile",
|
"~/.profile",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue