26 lines
765 B
Bash
26 lines
765 B
Bash
# Enable the subsequent settings only in interactive sessions
|
|
case $- in
|
|
*i*) ;;
|
|
*) return;;
|
|
esac
|
|
|
|
eval "$(starship init bash)"
|
|
|
|
# dotfiles management
|
|
alias config='/run/current-system/sw/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
|
|
alias nixconfig='/run/current-system/sw/bin/git --git-dir=$HOME/nixdotfiles/ --work-tree=/'
|
|
|
|
bind '"\e[A": history-search-backward'
|
|
bind '"\e[B": history-search-forward'
|
|
bind '"\eOA": history-search-backward'
|
|
bind '"\eOB": history-search-forward'
|
|
|
|
# fastfetch --config ascii-art
|
|
|
|
# uv
|
|
export PATH="/home/nicole/.local/bin:$PATH"
|
|
export SSH_AUTH_SOCK=/home/$USER/.bitwarden-ssh-agent.sock
|
|
alias kimi='kimi --mcp-config-file /home/nicole/.config/kimi/mcp.json'
|
|
|
|
# sudo alias with user envs
|
|
alias sudonvim='sudo -E nvim'
|