Inital commit
Using stow
This commit is contained in:
commit
1f7d311be6
15
.bash_aliases
Normal file
15
.bash_aliases
Normal file
@ -0,0 +1,15 @@
|
||||
if [ -x /usr/bin/dircolors ]; then
|
||||
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||||
alias ls='ls --color=auto'
|
||||
alias dir='dir --color=auto'
|
||||
#alias vdir='vdir --color=auto'
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
alias fgrep='fgrep --color=auto'
|
||||
alias egrep='egrep --color=auto'
|
||||
fi
|
||||
|
||||
alias bat='batcat'
|
||||
alias docker='sudo docker'
|
||||
|
||||
|
5
.config/bat/config
Normal file
5
.config/bat/config
Normal file
@ -0,0 +1,5 @@
|
||||
--theme="OneHalfLight"
|
||||
--style="auto"
|
||||
--map-syntax "*.ino:C++"
|
||||
--map-syntax='*.conf:INI'
|
||||
--force-colorization
|
26
.gitconfig
Normal file
26
.gitconfig
Normal file
@ -0,0 +1,26 @@
|
||||
[user]
|
||||
email = daniel-git@c0ntroller.de
|
||||
name = Daniel Kluge
|
||||
signingKey = ~/.ssh/id_rsa.pub
|
||||
[init]
|
||||
defaultBranch = senpai
|
||||
[alias]
|
||||
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all
|
||||
fpush = push
|
||||
[rerere]
|
||||
enabled = true
|
||||
autoUpdate = true
|
||||
[branch]
|
||||
sort = -committerdate
|
||||
[column]
|
||||
ui = auto
|
||||
[commit]
|
||||
gpgSign = true
|
||||
[push]
|
||||
gpgSign = if-asked
|
||||
[tag]
|
||||
gpgSign = true
|
||||
[gpg]
|
||||
format = ssh
|
||||
[url "https://github.com/"]
|
||||
insteadOf = ssh://git@github.com/
|
0
.nanobackup/.gitkeep
Normal file
0
.nanobackup/.gitkeep
Normal file
1
.nanobackup/.stow-local-ignore
Normal file
1
.nanobackup/.stow-local-ignore
Normal file
@ -0,0 +1 @@
|
||||
\.gitkeep
|
9
.nanorc
Normal file
9
.nanorc
Normal file
@ -0,0 +1,9 @@
|
||||
set autoindent
|
||||
set backup
|
||||
set backupdir "/home/daniel/.nanobackup"
|
||||
set constantshow
|
||||
set indicator
|
||||
set linenumbers
|
||||
set mouse
|
||||
set noconvert
|
||||
|
27
.oh-my-zsh/themes/custom-robbyrussell.zsh-theme
Normal file
27
.oh-my-zsh/themes/custom-robbyrussell.zsh-theme
Normal file
@ -0,0 +1,27 @@
|
||||
ZSH_THEME_GIT_PROMPT_ADDED="A"
|
||||
ZSH_THEME_GIT_PROMPT_MODIFIED="M"
|
||||
ZSH_THEME_GIT_PROMPT_DELETED="M"
|
||||
ZSH_THEME_GIT_PROMPT_RENAMED="M"
|
||||
ZSH_THEME_GIT_PROMPT_UNMERGED=""
|
||||
ZSH_THEME_GIT_PROMPT_UNTRACKED="U"
|
||||
|
||||
function my_git_color() {
|
||||
local state="$(git_prompt_status)"
|
||||
case "$state" in
|
||||
*"A"*) echo -n "%B%F{green}";;
|
||||
*"M"*) echo -n "%B%F{yellow}";;
|
||||
*"U"*) echo -n "%F{141}";;
|
||||
*) echo -n "%F{red}";;
|
||||
esac
|
||||
}
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%F{blue} [$(my_git_color)"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%b%F{blue}]%f "
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY=""
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=""
|
||||
ZSH_THEME_VIRTUALENV_PREFIX="%F{white}[%B%F{green}"
|
||||
ZSH_THEME_VIRTUALENV_SUFFIX="%b%F{white}]%f "
|
||||
|
||||
PROMPT_CHAR="%B%F{grey}\$%b%f"
|
||||
PROMPT='%B%(?:%F{green}→:%F{red}→)%b%f %F{cyan}%c%f $PROMPT_CHAR%f '
|
||||
RPROMPT='$(virtualenv_prompt_info)$(git_prompt_info)'
|
Loading…
x
Reference in New Issue
Block a user