Browse Source

* minor local changes - unused shell aliases and some slash

master
dimti 4 weeks ago
parent
commit
4e0c2dbfc4
  1. 6
      dockerfiles/workspace/.bash_aliases.example
  2. 3
      dockerfiles/workspace/.gitignore
  3. 11
      dockerfiles/workspace/.shell-aliases
  4. 2
      src/dockerfiles/workspace/workspace.base.Dockerfile

6
dockerfiles/workspace/.bash_aliases.example

@ -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

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

11
dockerfiles/workspace/aliases.sh.example → dockerfiles/workspace/.shell-aliases

@ -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'
alias ga='git add'
alias gc='git commit -m'
alias gush='git push'
alias gull='git pull'
alias gb='git branch'
# Source global definitions
test -r ~/.bash_aliases && . ~/.bash_aliases

2
src/dockerfiles/workspace/workspace.base.Dockerfile

@ -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:

Loading…
Cancel
Save