Compare commits

..

No commits in common. "afb560cd43d89e62406ddbf78301c226415d6ab6" and "e2c104db08cccd2d31da9f2e69c01c0ef5566abd" have entirely different histories.

3 changed files with 29 additions and 9 deletions

View File

@ -32,11 +32,6 @@ README.md
# for `root` user # for `root` user
.config/* .config/*
# fish-shell
!.config/fish
.config/fish/**/*
!.config/fish/config.fish
# starship # starship
!.config/starship.toml !.config/starship.toml

View File

@ -0,0 +1,29 @@
# alias bash "bash --init-file $XDG_CONFIG_HOME/bash/bashrc"
# alias vimpager "vimpager -c \"silent call <SNR>1_ToggleLess()\" "
# subversion
# alias svn 'svn --config-dir "$XDG_CONFIG_HOME"/subversion'
# cargo (rust)
# if type -q cargo
# alias ca 'cargo'
# end
# if type -q source-highlight
# alias ccat "source-highlight --out-format esc -o STDOUT -i"
# # alias pcat "source-highlight --out-format esc -o STDOUT"
# alias pcat "/usr/bin/source-highlight-esc.sh "
# end
# if type -q abcde && test -f $XDG_CONFIG_HOME/abcde.conf
# alias abcde "abcde -c ~/.config/abcde.conf"
# end
# if type -q newsboat
# alias news "pkill newsboat; timeout 10m newsboat; setsid $XDG_CONFIG_HOME/newsboat/ytdl.fish > /dev/null 2>&1"
# end
if type -q yarn
alias yarn "yarn --use-yarnrc '$XDG_CONFIG_HOME/yarn/config'"
end

View File

@ -1,14 +1,10 @@
set -x 0 fish set -x 0 fish
{{- if ne .chezmoi.username "root" -}}
source $HOME/.config/fish/env.fish source $HOME/.config/fish/env.fish
{{- end }}
# ONLY for interactive shell # ONLY for interactive shell
if status --is-interactive if status --is-interactive
{{- if ne .chezmoi.username "root" -}}
source $HOME/.config/fish/abbreviations.fish source $HOME/.config/fish/abbreviations.fish
{{- end }}
set -q fish_private_mode && set -x FISH_IS_IN_PRIVATE 1 set -q fish_private_mode && set -x FISH_IS_IN_PRIVATE 1
command -v zoxide > /dev/null && zoxide init fish | source command -v zoxide > /dev/null && zoxide init fish | source
command -v starship > /dev/null && starship init fish | source command -v starship > /dev/null && starship init fish | source