fix: git default branch, cargo path nushell
This commit is contained in:
@@ -25,7 +25,9 @@ in {
|
||||
$env.FZF_DEFAULT_OPTS = "--preview='bat --color=always -n {}' --bind 'ctrl-/:toggle-preview' --header 'Press CTRL-Y to copy command into clipboard' --bind 'ctrl-y:execute-silent(echo -n {2..} | wl-copy)+abort' --color bg:#282a36,bg+:#44475a,fg:#f8f8f2,fg+:#f8f8f2,header:#6272a4,hl:#bd93f9,hl+:#bd93f9,info:#ffb86c,marker:#ff79c6,pointer:#ff79c6,prompt:#50fa7b,spinner:#ffb86c"
|
||||
$env.XDG_DATA_HOME = $"($env.HOME)/.local/share"
|
||||
$env.SSH_AUTH_SOCK = "/run/user/1000/gnupg/S.gpg-agent.ssh"
|
||||
$env.PATH = ($env.PATH | split row (char esep) | append $"($env.HOME)/.cache/.bun/bin" | append $"($env.HOME)/.npm-global/bin" | uniq)
|
||||
$env.PATH = ($env.PATH | split row (char esep) | append $"($env.HOME)/.cargo/bin" | append $"($env.HOME)/.cache/.bun/bin"
|
||||
| append $"($env.HOME)/.npm-global/bin" | uniq)
|
||||
$env.CARGO_HOME = $"($env.HOME)/.cargo"
|
||||
$env.NPM_CONFIG_PREFIX = $"($env.HOME)/.npm-global"
|
||||
$env.FLAKE = $"($env.HOME)/p/NIX/nixos-config"
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ with lib; {
|
||||
email = lib.mkDefault "p@m3ta.dev";
|
||||
};
|
||||
core.excludesfile = "~/.gitignore_global";
|
||||
init.defaultBranch = "main";
|
||||
init.defaultBranch = "master";
|
||||
|
||||
# --- Diff-Config ---
|
||||
# Use difftastic as default external diff tool
|
||||
|
||||
Reference in New Issue
Block a user