Skip to content

Commit

Permalink
Decommissioning omf
Browse files Browse the repository at this point in the history
  • Loading branch information
szinn committed Oct 21, 2023
1 parent 08967ca commit 0b1cc57
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 58 deletions.
7 changes: 0 additions & 7 deletions home/.chezmoiscripts/run_after_10-update-omf.sh.tmpl

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions home/.chezmoiscripts/run_once_before_20-install-omf.sh

This file was deleted.

10 changes: 0 additions & 10 deletions home/dot_config/private_fish/conf.d/01-omf.fish

This file was deleted.

11 changes: 8 additions & 3 deletions home/dot_config/private_fish/conf.d/10-env.fish
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# Configure environment
set -gx EDITOR "nvim"
set -Ux GOPATH (go env GOPATH)
set -gx HOMEBREW_NO_ANALYTICS 1
set -gx HOMEBREW_NO_AUTO_UPDATE 1
set -gx HOMEBREW_NO_ENV_HINTS 1
set -gx HOMEBREW_NO_INSTALL_CLEANUP 1
set -gx LESSHISTFILE -
set -gx PAGER less
set -gx SOPS_AGE_KEY_FILE $XDG_CONFIG_HOME/sops/age/keys.txt
set -Ux FZF_DEFAULT_COMMAND "fd -H -E '.git'"

if command -sq sops
set -gx SOPS_AGE_KEY_FILE $XDG_CONFIG_HOME/sops/age/keys.txt
end

if command -sq fd
set -Ux FZF_DEFAULT_COMMAND "fd -H -E '.git'"
end

if command -sq rg
set -gx RIPGREP_CONFIG_PATH "$XDG_CONFIG_HOME/ripgrep/config"
Expand Down
8 changes: 0 additions & 8 deletions home/dot_config/private_fish/conf.d/11-asdf.fish

This file was deleted.

6 changes: 1 addition & 5 deletions home/dot_config/private_fish/conf.d/20-homebrew.fish.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ for package in gnu-sed findutils coreutils grep make
fish_add_path "$HOMEBREW_PREFIX/opt/$package/libexec/gnubin"
end
end
for package in m4
for package in m4 curl postgresql@16
if test -d "$HOMEBREW_PREFIX/opt/$package/bin"
fish_add_path "$HOMEBREW_PREFIX/opt/$package/bin"
end
end

if test -d "$HOMEBREW_PREFIX/opt/curl/bin"
fish_add_path "$HOMEBREW_PREFIX/opt/curl/bin"
end

if test -d "$HOMEBREW_PREFIX/share/fish/completions"
set -gx fish_complete_path $fish_complete_path "$HOMEBREW_PREFIX/share/fish/completions"
end
Expand Down
3 changes: 3 additions & 0 deletions home/dot_config/private_fish/conf.d/21-go.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if type -q go
set -Ux GOPATH (go env GOPATH)
end
8 changes: 8 additions & 0 deletions home/dot_config/private_fish/conf.d/21-rust.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
set -l rustup_path $HOME/.cargo/bin

if [ $CARGO_HOME ]
set rustup_path $CARGO_HOME/bin
end

contains -- $rustup_path $PATH
or set -gx PATH $rustup_path $PATH

0 comments on commit 0b1cc57

Please sign in to comment.