arnaucube
arnaucube/configsPublic Self-hosted repository
separate sh alias file
arnaucube root@arnaucube.com
Sun, 07 Mar 2021 18:53:50 +0100
commit

436fb7234fc9e2149d2628d8d66a9c2623fd7b61

parent

8c5eb7e522f5e31510fa6a856a01a53b91880705

3 files changed, 18 insertions(+), 15 deletions(-)

jump to
A .bash_alias

@@ -0,0 +1,15 @@

+# ls aliases +alias ll='ls -alF' +alias la='ls -A' +alias l='ls -CF' +alias lst='ls -altr' + +# alias +alias n='nvim' +alias t='tmux' + +# git alias +alias gdf='git difftool --tool=vimdiff' +alias gs='git status' +# gitg branch views, line from https://gitlab.com/dhole/dot_files/blob/master/.bash_aliases#L39 +alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%ar)%C(cyan) %an<%ae>%Creset'"
M .bashrc → .bashrc

@@ -27,21 +27,6 @@ PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ '

fi unset color_prompt force_color_prompt -# gitg branch views, line from https://gitlab.com/dhole/dot_files/blob/master/.bash_aliases#L39 -alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%ar)%C(cyan) %an<%ae>%Creset'" - -# ls aliases -alias ll='ls -alF' -alias la='ls -A' -alias l='ls -CF' -alias lst='ls -altr' - -# alias -alias n='nvim' -alias t='tmux' -alias c='calcurse-caldav && calcurse && calcurse-caldav' -alias gdf='git difftool --tool=vimdiff' - export PATH=$PATH:/home/user/bin # go

@@ -57,3 +42,5 @@ alias pip='/usr/bin/pip3'

export EDITOR=vim export LC_ALL="en_US.UTF-8" + +source ~/.bash_alias
M install-new-server.sh → install-new-server.sh

@@ -39,6 +39,7 @@ ## :PlugInstall

## :GoInstallBinaries # bash +cp .bash_alias ~/.bash_alias echo "append .bashrc of this repo lines to the .bashrc system file" cat .bashrc >> ~/.bashrc