Add .bashrc
This commit is contained in:
13
.bashrc
Normal file
13
.bashrc
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias lah='ls -lah'
|
||||||
|
alias la='ls -a'
|
||||||
|
|
||||||
|
alias count-commits='echo $(git log --oneline | wc -l) commits'
|
||||||
|
|
||||||
|
export TERM=alacritty
|
||||||
|
export EDITOR=vim
|
||||||
|
export VISUAL=vim
|
||||||
|
|
||||||
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
ln -s $PWD/.bashrc $HOME/.bashrc
|
||||||
|
|
||||||
# Link .vimrc to home directory
|
# Link .vimrc to home directory
|
||||||
ln -s $PWD/.vimrc $HOME/.vimrc
|
ln -s $PWD/.vimrc $HOME/.vimrc
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user