mirror of
https://github.com/reonokiy/dotfiles.git
synced 2025-06-15 14:12:53 +02:00
update
This commit is contained in:
parent
d9d73a8a1b
commit
3fa49bc397
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,4 @@
|
|||
# https://nixos.org/manual/nixpkgs/stable/#sec-declarative-package-management
|
||||
{
|
||||
packageOverrides = pkgs: with pkgs; {
|
||||
myPackages = pkgs.buildEnv {
|
||||
|
|
|
@ -63,6 +63,10 @@ key[Control-Right]="${terminfo[kRIT5]}"
|
|||
[[ -n "${key[Control-Left]}" ]] && bindkey -- "${key[Control-Left]}" backward-word
|
||||
[[ -n "${key[Control-Right]}" ]] && bindkey -- "${key[Control-Right]}" forward-word
|
||||
|
||||
# nix config (load nix first to get available pkgs in PATH)
|
||||
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
|
||||
. $HOME/.nix-profile/etc/profile.d/nix.sh;
|
||||
fi
|
||||
|
||||
# custom PATH
|
||||
path+=("$HOME"'/.local/bin')
|
||||
|
@ -156,12 +160,11 @@ if command -v pyenv &> /dev/null; then
|
|||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
# nix config
|
||||
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then
|
||||
. $HOME/.nix-profile/etc/profile.d/nix.sh;
|
||||
# direnv
|
||||
if command -v direnv &> /dev/null; then
|
||||
eval "$(direnv hook zsh)"
|
||||
fi
|
||||
|
||||
|
||||
# editors
|
||||
export EDITOR="nvim"
|
||||
export VISUAL="code"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue