psql
This commit is contained in:
parent
c58e1e7a55
commit
595c39e463
2
Makefile
2
Makefile
@ -104,3 +104,5 @@ termux:
|
|||||||
arch:
|
arch:
|
||||||
@echo 'echo "ParallelDownloads = 5" >> /etc/pacman.conf'
|
@echo 'echo "ParallelDownloads = 5" >> /etc/pacman.conf'
|
||||||
|
|
||||||
|
psql:
|
||||||
|
ln -s $(PWD)/sub/psql/psqlrc ~/.psqlrc
|
||||||
|
|||||||
@ -43,6 +43,7 @@
|
|||||||
find = "!f() { git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative -S'pretty' -S\"$@\" | peco | awk '{print $1}' | xargs -I {} git diff {}^ {}; }; f"
|
find = "!f() { git log --pretty=format:\"%h %cd [%cn] %s%d\" --date=relative -S'pretty' -S\"$@\" | peco | awk '{print $1}' | xargs -I {} git diff {}^ {}; }; f"
|
||||||
unstage = 'reset HEAD --'
|
unstage = 'reset HEAD --'
|
||||||
last = log -1 HEAD
|
last = log -1 HEAD
|
||||||
|
branches = branch -avv --list
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
4
sub/psql/psqlrc
Normal file
4
sub/psql/psqlrc
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
\set PROMPT1 '%n@%/%R%# %x'
|
||||||
|
\setenv LESS '-iMFXSx4R'
|
||||||
|
\setenv EDITOR 'nvim'
|
||||||
|
\x auto
|
||||||
Loading…
x
Reference in New Issue
Block a user