Skip to content

Commit a3516dd

Browse files
committed
bashrc
1 parent f64b995 commit a3516dd

3 files changed

Lines changed: 50 additions & 0 deletions

File tree

bashrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Copyright (c) 2020 by Chrono
2+
3+
set -o vi
4+
alias l='ls -lh'
5+
6+
function set-title() {
7+
if [[ -z "$ORIG" ]]; then
8+
ORIG=$PS1
9+
fi
10+
TITLE="\[\e]2;$*\a\]"
11+
PS1=${ORIG}${TITLE}
12+
}

gitconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Copyright (c) 2020 by Chrono
2+
3+
[alias]
4+
st = status
5+
ci = commit
6+
br = branch
7+
co = checkout
8+
df = diff
9+
au = add -u .
10+
ll = log --oneline --graph
11+
lg = log --graph
12+
d = difftool
13+
pop = stash pop
14+
[core]
15+
editor = vim
16+
[color]
17+
ui = true
18+
[diff]
19+
tool = vimdiff
20+
[user]
21+
name = xxx
22+
email = xxx
23+
[merge]
24+
tool = vimdiff
25+
[push]
26+
default = matching

vimrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
set nu
2+
sy on
3+
set ruler
4+
set smartindent shiftwidth=4
5+
set tabstop=4
6+
set expandtab
7+
8+
set listchars=tab:>-,trail:~
9+
set list
10+
colorscheme desert
11+
12+
com E e.

0 commit comments

Comments
 (0)