Created
May 17, 2021 08:36
-
-
Save niklaskeerl/92f718f2257ebdcd23b14f19a7745c3a to your computer and use it in GitHub Desktop.
.bashrc without fish as interactive shell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# ~/.bashrc | |
# | |
# If not running interactively, don't do anything | |
[[ $- != *i* ]] && return | |
alias ls='ls --color=auto' | |
PS1='[\u@\h \W]\$ ' | |
#Setting fish as interactive shell only | |
#if [[ $(ps --no-header --pid=$PPID --format=cmd) != "fish" ]] | |
#then | |
# exec fish | |
#fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment