mirror of
https://codeberg.org/n30w/dotfiles.git
synced 2026-10-23 18:57:48 +02:00
20 lines
666 B
Text
20 lines
666 B
Text
export EDITOR=nvim
|
|
export PAGER=moor
|
|
|
|
alias arm="env /usr/bin/arch -arm64 /bin/zsh --login"
|
|
|
|
if [ -z "$INTELLIJ_ENVIRONMENT_READER" ];
|
|
then
|
|
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
|
|
fi
|
|
|
|
# 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
|
|
|