Compare commits
No commits in common. "8d02d2e6f777671cb4e041fad58ce7f03cfa1b24" and "1429d228e5fc257ca496b737834e7d20254a54a8" have entirely different histories.
8d02d2e6f7
...
1429d228e5
1
.bashrc
1
.bashrc
@ -121,7 +121,6 @@ PAGER="less"
|
||||
LESS="-S"
|
||||
export PG="psql -U ptrowbridge -d ubm -p 54329 -h hptrow.me"
|
||||
export PGD="psql -U ptrowbridge -d ubm -p 54339 -h hptrow.me"
|
||||
export PSQL_PAGER="pspg"
|
||||
|
||||
# GOPATH=$HOME/go
|
||||
# function _update_ps1() {
|
||||
|
34
.pspgconf
34
.pspgconf
@ -1,34 +0,0 @@
|
||||
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 = 17
|
||||
border_type = 2
|
||||
default_clipboard_format = 0
|
||||
clipboard_app = 0
|
||||
hist_size = 500
|
20
setup.sh
20
setup.sh
@ -5,7 +5,7 @@
|
||||
|
||||
dir=~/dot_config
|
||||
backup=~/dot_config_backup
|
||||
files=".bashrc .vimrc .tmux.conf .psqlrc .gitconfig .inputrc .pspgconf"
|
||||
files=".bashrc .vimrc .tmux.conf .psqlrc .gitconfig .inputrc"
|
||||
|
||||
#-------------------------------------------------install debian tooling-----------------------------------------------------------------------------------
|
||||
|
||||
@ -14,17 +14,17 @@ if [ "$(dpkg-query -W -f='${Status}' "curl" 2>/dev/null | grep -c "ok installed"
|
||||
then
|
||||
echo "curl already installed"
|
||||
else
|
||||
echo "installing curl..."
|
||||
echo "installing curl"
|
||||
apt update -q4
|
||||
apt install curl -y
|
||||
fi
|
||||
|
||||
#----------vim-----------
|
||||
if [ "$(dpkg-query -W -f='${Status}' "vim" 2>/dev/null | grep -c "ok installed")" == "1" ]
|
||||
if [ "$(dpkg-query -W -f='${Status}' "curl" 2>/dev/null | grep -c "ok installed")" == "1" ]
|
||||
then
|
||||
echo "vim already installed"
|
||||
else
|
||||
echo "installing vim..."
|
||||
echo "installing vim"
|
||||
apt update -q4
|
||||
apt install vim -y
|
||||
fi
|
||||
@ -34,21 +34,11 @@ if [ "$(dpkg-query -W -f='${Status}' "tmux" 2>/dev/null | grep -c "ok installed"
|
||||
then
|
||||
echo "tmux already installed"
|
||||
else
|
||||
echo "installing tmux..."
|
||||
echo "installing tmux"
|
||||
apt update -q4
|
||||
apt install tmux -y
|
||||
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--------------------------------------------------
|
||||
|
||||
if [ ! -d $backup ]
|
||||
|
Loading…
Reference in New Issue
Block a user