Skip to content

Commit

Permalink
ssource to re-source
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Oct 15, 2024
1 parent d2ea238 commit 4cd6dfd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
3 changes: 3 additions & 0 deletions fish/aliases.fish
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ abbr v vim
abbr bwre brew
abbr brwe brew

abbr cat 'bat -P'
set -x BAT_STYLE "header,header-filesize,header-filename,changes"

alias push="git push"

# `g co`, etc. subcommand expansion with `abbr`.
Expand Down
20 changes: 12 additions & 8 deletions fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ end


# TODO: path and aliases are kinda slow to source. optimize later.
source ~/.config/fish/path.fish
source ~/.config/fish/aliases.fish
source ~/.config/fish/functions.fish
source ~/.config/fish/chromium.fish

# for things not checked into git..
if test -e "$HOME/.extra.fish";
source ~/.extra.fish
function ssource --description "source most of my dotfiles, useful if making changes and iterating"
source ~/.config/fish/path.fish
source ~/.config/fish/aliases.fish
source ~/.config/fish/functions.fish
source ~/.config/fish/chromium.fish

# for things not checked into git..
if test -e "$HOME/.extra.fish";
source ~/.extra.fish
end
end

ssource;

# I don't need a prompt symbol for you-got-things-in-yr-stash
set --erase pure_symbol_git_stash

Expand Down

0 comments on commit 4cd6dfd

Please sign in to comment.