* correct shell aliases appropriate by latest legacy forked repo version on fe8fc34e7a8e277b08cd2f3f0bcf2b6f918e9551
This commit is contained in:
@ -1,7 +0,0 @@
|
||||
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'
|
||||
alias dc='docker-compose'
|
@ -1,36 +1,15 @@
|
||||
# If not running interactively, don't do anything
|
||||
[ -z "$PS1" ] && return
|
||||
alias tmux='tmux -2'
|
||||
|
||||
# Source global definitions
|
||||
test -r /etc/bashrc && . /etc/bashrc
|
||||
if command -v eza >/dev/null 2>&1; then
|
||||
alias ls='eza'
|
||||
else
|
||||
alias ls='ls --color=auto'
|
||||
fi
|
||||
|
||||
test -r ~/.bash_aliases && . ~/.bash_aliases
|
||||
|
||||
# don't put duplicate lines in the history. See bash(1) for more options
|
||||
# ... or force ignoredups and ignorespace
|
||||
HISTCONTROL=ignoreboth
|
||||
export HISTIGNORE="&:ls:[bf]g:pwd:exit:cd .."
|
||||
|
||||
# append to the history file, don't overwrite it
|
||||
shopt -s histappend
|
||||
PROMPT_COMMAND="history -a;$PROMPT_COMMAND"
|
||||
|
||||
# Store multiline commands as one line.
|
||||
shopt -s cmdhist
|
||||
|
||||
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
|
||||
HISTSIZE=10000
|
||||
HISTFILESIZE=20000
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
shopt -s checkwinsize
|
||||
|
||||
# Spellcheck directories
|
||||
shopt -s dirspell
|
||||
|
||||
# enable programmable completion features (you don't need to enable
|
||||
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
|
||||
# sources /etc/bash.bashrc).
|
||||
test -f /usr/share/bash-completion/bash_completion && . /usr/share/bash-completion/bash_completion
|
||||
test -f /etc/bash_completion && . /etc/bash_completion
|
||||
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'
|
||||
alias dc='docker-compose'
|
||||
|
Reference in New Issue
Block a user