mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 12:36:42 +01:00
separate sh alias file
This commit is contained in:
15
.bash_alias
Normal file
15
.bash_alias
Normal file
@@ -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'"
|
||||
17
.bashrc
17
.bashrc
@@ -27,21 +27,6 @@ else
|
||||
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
|
||||
|
||||
@@ -39,6 +39,7 @@ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
|
||||
## :GoInstallBinaries
|
||||
|
||||
# bash
|
||||
cp .bash_alias ~/.bash_alias
|
||||
echo "append .bashrc of this repo lines to the .bashrc system file"
|
||||
cat .bashrc >> ~/.bashrc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user