changed Kitty theme, fixed ssh problems and setup fish properly

This commit is contained in:
2025-01-27 22:57:36 +01:00
parent 79f700ca47
commit ff2289c6a0
6 changed files with 94 additions and 2 deletions

18
.bashrc Normal file
View File

@@ -0,0 +1,18 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} && ${SHLVL} == 1 ]]
then
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=''
exec fish $LOGIN_OPTION
fi
alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
alias dotfiles='/usr/bin/git --git-dir=$HOME/.myconf/ --work-tree=$HOME'
[ "$TERM" = "xterm-kitty" ] && alias ssh="kitty +kitten ssh"