This commit is contained in:
TheK4n 2022-12-11 20:15:20 +03:00
parent c58e1e7a55
commit 595c39e463
3 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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
View File

@ -0,0 +1,4 @@
\set PROMPT1 '%n@%/%R%# %x'
\setenv LESS '-iMFXSx4R'
\setenv EDITOR 'nvim'
\x auto