.bashrc aktualisiert

Anpassung Gitpfad und einfügen alias "login".
This commit is contained in:
alf
2025-08-07 10:13:47 +00:00
parent 0b2657aa8e
commit fe5dc08071

14
.bashrc
View File

@ -1,7 +1,10 @@
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
###################################
# ANPASSUNGEN BITTE IN ZEILE 115! #
###################################
#
# If not running interactively, don't do anything
case $- in
*i*) ;;
@ -112,8 +115,14 @@ if ! shopt -oq posix; then
fi
fi
#################### hier bitte anpassen !!! ####################
K_PFAD="$HOME"
GIT_PFAD="$HOME/Dokumente/Gitea"
#GIT_PFAD="$HOME/Gitea"
#################### Anpassungen Ende ####################
alias sshpc4='ssh alf@192.168.0.104 -i "$K_PFAD/id_lokal_chrome"'
alias sshpi='ssh alf@192.168.0.80 -p2222 -i $K_PFAD/id_superao'
alias sshmedia='ssh alf@192.168.0.10 -i $K_PFAD/id_lokal_chrome'
@ -127,6 +136,7 @@ alias sshh="ssh -l alf -p2222 -i $K_PFAD/id_superao "
alias rm='echo "Bitte del benutzen!"'
alias ls="ls -lhp --group-directories-first --color=auto "
alias ssher='/bin/bash $HOME/ssher.sh'
alias login='bin/bash "$GIT_PFAD/ssh-cert-login/login.sh"'
TRASHVERZ="$HOME/.Müll"
# Stellen Sie sicher, dass TRASHVERZ definiert ist (z.B. in Ihrer .bashrc)