{ programs.bash = { enable = true; enableCompletion = true; shellAliases = { "ff" = "${./bin/ff.sh}"; "ipl" = "ifconfig | grep \"inet \" | grep -v 127.0.0.1 | awk '{print $2}' | head -n 1"; "ipp" = "curl -4 ifconfig.me"; }; bashrcExtra = '' # Env variables # Setup emacs-libvterm if [[ "$INSIDE_EMACS" = 'vterm' ]] \ && [[ -n "$EMACS_VTERM_PATH" ]] \ && [[ -f "$EMACS_VTERM_PATH/etc/emacs-vterm-bash.sh" ]]; then source "$EMACS_VTERM_PATH fi ''; }; }