* minor local changes - unused shell aliases and some slash

This commit is contained in:
2024-11-25 09:13:53 +03:00
parent 3faf8a698a
commit 4e0c2dbfc4
4 changed files with 13 additions and 9 deletions

View File

@ -0,0 +1,6 @@
alias gst='git status'
alias ga='git add'
alias gc='git commit -m'
alias gush='git push'
alias gull='git pull'
alias gb='git branch'

View File

@ -1,2 +1,3 @@
/aliases.sh /.bash_*
!/.bash_.example
/crontab /crontab

View File

@ -1,4 +1,5 @@
#! /bin/bash # If not running interactively, don't do anything
[ -z "$PS1" ] && return
# Colors used for status updates # Colors used for status updates
ESC_SEQ="\x1b[" ESC_SEQ="\x1b["
@ -22,9 +23,5 @@ fi
# Always use color output for `ls` # Always use color output for `ls`
alias ls="command ls ${colorflag}" alias ls="command ls ${colorflag}"
alias gst='git status' # Source global definitions
alias ga='git add' test -r ~/.bash_aliases && . ~/.bash_aliases
alias gc='git commit -m'
alias gush='git push'
alias gull='git pull'
alias gb='git branch'

View File

@ -74,7 +74,7 @@ RUN sed -i 's/\r//' /root/aliases.sh && \
echo "" >> ~/.bashrc && \ echo "" >> ~/.bashrc && \
echo "# Load Custom Aliases" >> ~/.bashrc && \ echo "# Load Custom Aliases" >> ~/.bashrc && \
echo "source ~/aliases.sh" >> ~/.bashrc && \ echo "source ~/aliases.sh" >> ~/.bashrc && \
echo "" >> ~/.bashrc \ echo "" >> ~/.bashrc
########################################################################### ###########################################################################
# ssh: # ssh: