From 614ec7aa4c73b26693f13bc78c41da5f44af0fd4 Mon Sep 17 00:00:00 2001 From: 42berlin <42berlin@noreply.localhost> Date: Tue, 11 Apr 2023 22:20:58 +0200 Subject: [PATCH] nfs -> ~ --- .bashrc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/.bashrc b/.bashrc index db49758..0e70922 100644 --- a/.bashrc +++ b/.bashrc @@ -1,4 +1,4 @@ -alias bsq='cd /nfs/homes/tischmid/repos/piscine/bsq && zellij' +alias bsq='cd ~/repos/piscine/bsq && zellij' alias l='ls -lArthF --color=auto' alias v='vim' alias ..='cd ..' @@ -11,8 +11,8 @@ alias cmatrix='cmatrix -u3 -Cred' alias gca='git add -u && git commit -m "Automatic add"' alias watch='watch -cn.1' alias push='git push origin master ; git push gitea master' -alias francinette=/nfs/homes/tischmid/francinette/tester.sh -alias paco=/nfs/homes/tischmid/francinette/tester.sh +alias francinette=~/francinette/tester.sh +alias paco=~/francinette/tester.sh alias norm='alacritty -e sh -c '\''git rev-parse --show-toplevel || { echo "Exiting in 5" ; sleep 1 ; echo "Exiting in 4" ; sleep 1 ; echo "Exiting in 3" ; sleep 1 ; echo "Exiting in 2" ; sleep 1 ; echo "Exiting in 1" ; sleep 1 ; } && cd "$(git rev-parse --show-toplevel)" && watch -cn.5 date \&\& norminette -R CheckForbiddenSourceHeader'\'' & disown' # alias zellij='zellij options --disable-mouse-mode' alias z='zellij' @@ -33,14 +33,14 @@ jmp () { xset r rate 200 60 -PATH="${PATH}:/nfs/homes/tischmid/.local/bin" +PATH="${PATH}:~/.local/bin" GIT_PROMPT="1" if [ ! -f ~/git-prompt.sh ] && [ "${GIT_PROMPT}" = "1" ] ; then curl --silent --location 'https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh' -o "~/git-prompt.sh" fi -if [ ! -f ~/git-prompt.sh ] && [ "${GIT_PROMPT}" = "1" ] ; then +if [ -f ~/git-prompt.sh ] && [ "${GIT_PROMPT}" = "1" ] ; then . ~/git-prompt.sh export GIT_PS1_SHOWDIRTYSTATE=1 PS1='\[\033[31m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[m\] \[\033[33m\][\w]\[\033[m\]\[\033[36m\]$(__git_ps1 " (%s)")\[\033[m\]\n\[\033[35m\]~>\[\033[m\] ' @@ -50,35 +50,35 @@ fi ##----------------------------------------------------- ## synth-shell-greeter.sh -if [ -f /nfs/homes/tischmid/.config/synth-shell/synth-shell-greeter.sh ] && [ -n "$( echo $- | grep i )" ] ; then +if [ -f ~/.config/synth-shell/synth-shell-greeter.sh ] && [ -n "$( echo $- | grep i )" ] ; then : - # source /nfs/homes/tischmid/.config/synth-shell/synth-shell-greeter.sh + # source ~/.config/synth-shell/synth-shell-greeter.sh fi ##----------------------------------------------------- ## synth-shell-prompt.sh -if [ -f /nfs/homes/tischmid/.config/synth-shell/synth-shell-prompt.sh ] && [ -n "$( echo $- | grep i )" ] ; then +if [ -f ~/.config/synth-shell/synth-shell-prompt.sh ] && [ -n "$( echo $- | grep i )" ] ; then : - # source /nfs/homes/tischmid/.config/synth-shell/synth-shell-prompt.sh + # source ~/.config/synth-shell/synth-shell-prompt.sh fi ##----------------------------------------------------- ## better-ls -if [ -f /nfs/homes/tischmid/.config/synth-shell/better-ls.sh ] && [ -n "$( echo $- | grep i )" ] ; then +if [ -f ~/.config/synth-shell/better-ls.sh ] && [ -n "$( echo $- | grep i )" ] ; then : - # source /nfs/homes/tischmid/.config/synth-shell/better-ls.sh + # source ~/.config/synth-shell/better-ls.sh fi ##----------------------------------------------------- ## alias -if [ -f /nfs/homes/tischmid/.config/synth-shell/alias.sh ] && [ -n "$( echo $- | grep i )" ] ; then - source /nfs/homes/tischmid/.config/synth-shell/alias.sh +if [ -f ~/.config/synth-shell/alias.sh ] && [ -n "$( echo $- | grep i )" ] ; then + source ~/.config/synth-shell/alias.sh fi ##----------------------------------------------------- ## better-history -if [ -f /nfs/homes/tischmid/.config/synth-shell/better-history.sh ] && [ -n "$( echo $- | grep i )" ] ; then - source /nfs/homes/tischmid/.config/synth-shell/better-history.sh +if [ -f ~/.config/synth-shell/better-history.sh ] && [ -n "$( echo $- | grep i )" ] ; then + source ~/.config/synth-shell/better-history.sh fi check () {