merge latest clean
This commit is contained in:
commit
e45b822767
1
.bashrc
1
.bashrc
@ -129,6 +129,7 @@ export WTS="//mnt/c/Users/PTrowbridge/AppData/Local/Packages/Microsoft.WindowsTe
|
|||||||
export PATH=$PATH:"//mnt/c/Program Files/VideoLAN/VLC"
|
export PATH=$PATH:"//mnt/c/Program Files/VideoLAN/VLC"
|
||||||
export PATH=$PATH:"//mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application"
|
export PATH=$PATH:"//mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application"
|
||||||
export MS="sqlcmd.exe -S mid-sql02 -i"
|
export MS="sqlcmd.exe -S mid-sql02 -i"
|
||||||
|
export PSQL_PAGER="pspg"
|
||||||
|
|
||||||
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
|
if [ -f "$HOME/.bash-git-prompt/gitprompt.sh" ]; then
|
||||||
GIT_PROMPT_ONLY_IN_REPO=1
|
GIT_PROMPT_ONLY_IN_REPO=1
|
||||||
|
34
.pspgconf
Normal file
34
.pspgconf
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
ascii_menu = false
|
||||||
|
bold_labels = false
|
||||||
|
bold_cursor = false
|
||||||
|
ignore_case = false
|
||||||
|
ignore_lower_case = false
|
||||||
|
no_cursor = false
|
||||||
|
no_sound = false
|
||||||
|
no_mouse = false
|
||||||
|
less_status_bar = false
|
||||||
|
no_highlight_search = false
|
||||||
|
no_highlight_lines = false
|
||||||
|
force_uniborder = false
|
||||||
|
show_rownum = false
|
||||||
|
without_commandbar = false
|
||||||
|
without_topbar = false
|
||||||
|
vertical_cursor = false
|
||||||
|
on_sigint_exit = false
|
||||||
|
no_sigint_search_reset = false
|
||||||
|
double_header = false
|
||||||
|
quit_on_f3 = false
|
||||||
|
pgcli_fix = false
|
||||||
|
xterm_mouse_mode = true
|
||||||
|
show_scrollbar = true
|
||||||
|
menu_always = false
|
||||||
|
empty_string_is_null = true
|
||||||
|
last_row_search = true
|
||||||
|
progressive_load_mode = true
|
||||||
|
highlight_odd_rec = false
|
||||||
|
hide_header_line = false
|
||||||
|
theme = 0
|
||||||
|
border_type = 2
|
||||||
|
default_clipboard_format = 0
|
||||||
|
clipboard_app = 0
|
||||||
|
hist_size = 500
|
7
.vimrc
7
.vimrc
@ -11,7 +11,8 @@ Plugin 'kien/ctrlp.vim'
|
|||||||
Plugin 'scrooloose/nerdtree'
|
Plugin 'scrooloose/nerdtree'
|
||||||
Plugin 'edkolev/tmuxline.vim'
|
Plugin 'edkolev/tmuxline.vim'
|
||||||
Plugin 'vim-airline/vim-airline-themes'
|
Plugin 'vim-airline/vim-airline-themes'
|
||||||
Plugin 'plasticboy/vim-markdown'
|
Plugin 'leafgarland/typescript-vim'
|
||||||
|
Plugin 'peitalin/vim-jsx-typescript'
|
||||||
"Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
|
"Plugin 'Lokaltog/powerline', {'rtp': 'powerline/bindings/vim/'}
|
||||||
" All of your Plugins must be added before the following line
|
" All of your Plugins must be added before the following line
|
||||||
call vundle#end() " required
|
call vundle#end() " required
|
||||||
@ -59,6 +60,10 @@ nmap <Leader>e :NERDTreeToggle<CR>
|
|||||||
set incsearch
|
set incsearch
|
||||||
set showmatch
|
set showmatch
|
||||||
set hlsearch
|
set hlsearch
|
||||||
|
set mouse=a
|
||||||
|
"----disable the bell; t_vb is required to be set to nothing
|
||||||
|
set visualbell
|
||||||
|
set t_vb=
|
||||||
nnoremap \\ :noh<cr> " Clear higlighting
|
nnoremap \\ :noh<cr> " Clear higlighting
|
||||||
"nnoremap <esc> :noh<return><esc>
|
"nnoremap <esc> :noh<return><esc>
|
||||||
" Resize windows
|
" Resize windows
|
||||||
|
20
setup.sh
20
setup.sh
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
dir=~/dot_config
|
dir=~/dot_config
|
||||||
backup=~/dot_config_backup
|
backup=~/dot_config_backup
|
||||||
files=".bashrc .vimrc .tmux.conf .psqlrc .gitconfig"
|
files=".bashrc .vimrc .tmux.conf .psqlrc .gitconfig .inputrc .pspgconf"
|
||||||
|
|
||||||
#-------------------------------------------------install debian tooling-----------------------------------------------------------------------------------
|
#-------------------------------------------------install debian tooling-----------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -14,17 +14,17 @@ if [ "$(dpkg-query -W -f='${Status}' "curl" 2>/dev/null | grep -c "ok installed"
|
|||||||
then
|
then
|
||||||
echo "curl already installed"
|
echo "curl already installed"
|
||||||
else
|
else
|
||||||
echo "installing curl"
|
echo "installing curl..."
|
||||||
apt update -q4
|
apt update -q4
|
||||||
apt install curl -y
|
apt install curl -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#----------vim-----------
|
#----------vim-----------
|
||||||
if [ "$(dpkg-query -W -f='${Status}' "curl" 2>/dev/null | grep -c "ok installed")" == "1" ]
|
if [ "$(dpkg-query -W -f='${Status}' "vim" 2>/dev/null | grep -c "ok installed")" == "1" ]
|
||||||
then
|
then
|
||||||
echo "vim already installed"
|
echo "vim already installed"
|
||||||
else
|
else
|
||||||
echo "installing vim"
|
echo "installing vim..."
|
||||||
apt update -q4
|
apt update -q4
|
||||||
apt install vim -y
|
apt install vim -y
|
||||||
fi
|
fi
|
||||||
@ -34,11 +34,21 @@ if [ "$(dpkg-query -W -f='${Status}' "tmux" 2>/dev/null | grep -c "ok installed"
|
|||||||
then
|
then
|
||||||
echo "tmux already installed"
|
echo "tmux already installed"
|
||||||
else
|
else
|
||||||
echo "installing tmux"
|
echo "installing tmux..."
|
||||||
apt update -q4
|
apt update -q4
|
||||||
apt install tmux -y
|
apt install tmux -y
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#----------pspg-----------
|
||||||
|
if [ "$(dpkg-query -W -f='${Status}' "pspg" 2>/dev/null | grep -c "ok installed")" == "1" ]
|
||||||
|
then
|
||||||
|
echo "pspg already installed"
|
||||||
|
else
|
||||||
|
echo "installing pspg..."
|
||||||
|
apt update -q4
|
||||||
|
apt install pspg -y
|
||||||
|
fi
|
||||||
|
|
||||||
#------------------------------------------------ create the resore directory if it doesn't already exist--------------------------------------------------
|
#------------------------------------------------ create the resore directory if it doesn't already exist--------------------------------------------------
|
||||||
|
|
||||||
if [ ! -d $backup ]
|
if [ ! -d $backup ]
|
||||||
|
Loading…
Reference in New Issue
Block a user