Revert "Disable oh-my-zsh"

This reverts commit aa619622a9 as it turns out I do use a bunch of the shell aliases from it.
This commit is contained in:
Gene Liverman 2025-01-10 15:23:51 -05:00
parent 34882dccdf
commit d7d6c240b8
2 changed files with 19 additions and 19 deletions

View file

@ -289,25 +289,25 @@ in {
function svndiffless-nows() { function svndiffless-nows() {
svn diff -x -w "$@" |diff-so-fancy |less -R svn diff -x -w "$@" |diff-so-fancy |less -R
} }
# unset oh-my-zsh's gk so that gk can refer to the gitkraken-cli
unalias gk
''; '';
# # unset oh-my-zsh's gk so that gk can refer to the gitkraken-cli oh-my-zsh = {
# unalias gk enable = true;
# ''; plugins = [
# oh-my-zsh = { "bundler"
# enable = true; "gem"
# plugins = [ "git"
# "bundler" "github"
# "gem" "history"
# "git" "kubectl"
# "github" "pip"
# "history" "terraform"
# "kubectl" "vagrant"
# "pip" "vscode"
# "terraform" ];
# "vagrant" };
# "vscode"
# ];
# };
shellAliases = { shellAliases = {
bcrr = "bolt command run --run-as root --sudo-password-prompt"; bcrr = "bolt command run --run-as root --sudo-password-prompt";
bcrrs = "bcrr --stream --no-verbose"; bcrrs = "bcrr --stream --no-verbose";

View file

@ -14,7 +14,7 @@
export PATH=$PATH:/opt/puppetlabs/pdk/bin export PATH=$PATH:/opt/puppetlabs/pdk/bin
export PATH=$PATH:/opt/puppetlabs/puppet/bin export PATH=$PATH:/opt/puppetlabs/puppet/bin
''; '';
# oh-my-zsh.plugins = [ "macos" ]; oh-my-zsh.plugins = [ "macos" ];
shellAliases = { shellAliases = {
currentwifi = "networksetup -getairportnetwork en0 |cut -d ':' -f2- | cut -d ' ' -f2-"; currentwifi = "networksetup -getairportnetwork en0 |cut -d ':' -f2- | cut -d ' ' -f2-";
nixdiff = "brew outdated && brew outdated --cask && mas outdated && cd ~/repos/dots && darwin-rebuild build --flake . && nvd diff /run/current-system result"; nixdiff = "brew outdated && brew outdated --cask && mas outdated && cd ~/repos/dots && darwin-rebuild build --flake . && nvd diff /run/current-system result";