mirror of
https://codeberg.org/n30w/dotfiles.git
synced 2026-05-07 12:05:28 +02:00
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
export EDITOR=nvim
|
|
export PAGER=moar
|
|
|
|
# >>> conda initialize >>>
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
#__conda_setup="$('/Users/neo/opt/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
|
#if [ $? -eq 0 ]; then
|
|
# eval "$__conda_setup"
|
|
#else
|
|
# if [ -f "/Users/neo/opt/anaconda3/etc/profile.d/conda.sh" ]; then
|
|
# . "/Users/neo/opt/anaconda3/etc/profile.d/conda.sh"
|
|
# else
|
|
# export PATH="/Users/neo/opt/anaconda3/bin:$PATH"
|
|
# fi
|
|
#fi
|
|
#unset __conda_setup
|
|
# <<< conda initialize <<<
|
|
|
|
alias arm="env /usr/bin/arch -arm64 /bin/zsh --login"
|
|
|
|
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
|
|
|
# This keeps the default shell to `zsh` on MacOS
|
|
# but then uses `fish` as the interactive shell. This is necessary
|
|
# when using nix-darwin. Getting nix darwin configured with
|
|
# fish is a PITA...
|
|
# see: https://discourse.nixos.org/t/using-fish-interactively-with-zsh-as-the-default-shell-on-macos/48402
|
|
if [[ $(ps -o command= -p "$PPID" | awk '{print $1}') != 'fish' ]]
|
|
then
|
|
exec fish -l
|
|
fi
|
|
|