* minor local changes - unused shell aliases and some slash
This commit is contained in:
6
dockerfiles/workspace/.bash_aliases.example
Normal file
6
dockerfiles/workspace/.bash_aliases.example
Normal 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'
|
3
dockerfiles/workspace/.gitignore
vendored
3
dockerfiles/workspace/.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
/aliases.sh
|
/.bash_*
|
||||||
|
!/.bash_.example
|
||||||
/crontab
|
/crontab
|
||||||
|
@ -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'
|
|
@ -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:
|
||||||
|
Reference in New Issue
Block a user