init
This commit is contained in:
3
roles/dotfiles/files/dot.bash_profile
Normal file
3
roles/dotfiles/files/dot.bash_profile
Normal file
@ -0,0 +1,3 @@
|
||||
# Ansible managed
|
||||
|
||||
[ -f ~/.bashrc ] && . ~/.bashrc
|
31
roles/dotfiles/files/dot.bashrc
Normal file
31
roles/dotfiles/files/dot.bashrc
Normal file
@ -0,0 +1,31 @@
|
||||
# Ansible managed
|
||||
|
||||
[ -f ~/.profile ] && . ~/.profile
|
||||
|
||||
[ -f ~/.profile.extra ] && . ~/.profile.extra
|
||||
|
||||
alias grep='grep --color=auto'
|
||||
alias diff='diff --color=auto'
|
||||
alias ls='ls -F --color=auto'
|
||||
alias l='ls -hl'
|
||||
alias ll='ls -alh'
|
||||
alias tree='tree -F'
|
||||
alias qq='history -c; exit'
|
||||
|
||||
shopt -s autocd
|
||||
shopt -s histappend
|
||||
|
||||
HISTCONTROL=ignoreboth
|
||||
HISTSIZE=20000
|
||||
HISTFILESIZE=20000
|
||||
HISTTIMEFORMAT="%d %b %Y %T %z "
|
||||
|
||||
if [ "$EUID" -eq 0 ]; then
|
||||
if [ -f /etc/armbian-release ]; then
|
||||
PS1='\[\033[38;5;208;1m\]\u@\H\[\033[00m\]:\w\[\033[00m\]\$ '
|
||||
else
|
||||
PS1='\[\033[1m\]\u@\H\[\033[00m\]:\w\[\033[00m\]\$ '
|
||||
fi
|
||||
else
|
||||
PS1='\u@\H:\w\$ '
|
||||
fi
|
7
roles/dotfiles/files/dot.profile
Normal file
7
roles/dotfiles/files/dot.profile
Normal file
@ -0,0 +1,7 @@
|
||||
# Ansible managed
|
||||
|
||||
PATH=$HOME/.local/bin:$PATH
|
||||
EDITOR=vim
|
||||
VISUAL=vim
|
||||
LESS=-R
|
||||
export PATH EDITOR VISUAL LESS
|
5
roles/dotfiles/files/dot.screenrc
Normal file
5
roles/dotfiles/files/dot.screenrc
Normal file
@ -0,0 +1,5 @@
|
||||
# Ansible managed
|
||||
|
||||
startup_message off
|
||||
hardstatus alwayslastline
|
||||
hardstatus string '%S: %-w%>(%n %t)%{-}%+w%<'
|
20
roles/dotfiles/files/dot.vimrc
Normal file
20
roles/dotfiles/files/dot.vimrc
Normal file
@ -0,0 +1,20 @@
|
||||
" Ansible managed
|
||||
|
||||
colorscheme default
|
||||
filetype plugin on
|
||||
syntax on
|
||||
let python_highlight_all = 1
|
||||
set mouse-=a
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
set smarttab
|
||||
set expandtab
|
||||
set softtabstop=4
|
||||
set autoindent
|
||||
set listchars=tab:▸\ ,trail:·
|
||||
set list
|
||||
set t_Co=256
|
||||
set enc=utf-8
|
||||
set fenc=utf-8
|
||||
set termencoding=utf-8
|
||||
set modeline
|
Reference in New Issue
Block a user