Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Feb 10, 2020
1 parent 6ddfd5d commit 8e0447b
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 17 deletions.
1 change: 1 addition & 0 deletions .config/fish/conf.d/br.fish
2 changes: 1 addition & 1 deletion .config/fish/fish_variables
Expand Up @@ -36,5 +36,5 @@ SETUVAR fish_pager_color_completion:\x1d
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_user_paths:/Users/fundon/\x2econfig/nvm/12\x2e12\x2e0/bin
SETUVAR fish_user_paths:\x1d
SETUVAR pure_version:2\x2e1\x2e8
9 changes: 4 additions & 5 deletions .config/fish/functions/ydl.fish
Expand Up @@ -19,11 +19,10 @@ function ydl
youtube-dl \
--user-agent $agent \
--add-metadata \
-o '%(title)s.%(ext)s' \
-f 'bestaudio' \
--no-playlist \
-x --audio-format best \
--audio-quality 0 $link
-o '%(title)s.f%(format_id)s.%(ext)s' \
-f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]' \
--merge-output-format mp4 \
$link

echo "$link success"
cd $old
Expand Down
4 changes: 2 additions & 2 deletions .config/htop/htoprc
@@ -1,7 +1,7 @@
# Beware! This file is rewritten by htop when settings are changed in the interface.
# The parser is also very primitive, and not human-friendly.
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=46
fields=0 48 17 18 38 39 2 46 47 49 1
sort_key=47
sort_direction=1
hide_threads=0
hide_kernel_threads=1
Expand Down
10 changes: 7 additions & 3 deletions .gitconfig
Expand Up @@ -137,9 +137,13 @@
git reset --soft \"HEAD~$n\"; \
}; f"

[url "git@github.com:"]

insteadOf = https://github.com/
#[url "ssh://github.com/"]
#
# insteadOf = git@github.com:
#
#[url "git@github.com:"]
#
# insteadOf = https://github.com/

[apply]

Expand Down
10 changes: 7 additions & 3 deletions .psqlrc
@@ -1,6 +1,7 @@
-- Official docs: http://www.postgresql.org/docs/9.3/static/app-psql.html
-- Unofficial docs: http://robots.thoughtbot.com/improving-the-command-line-postgres-experience
-- Thanks to: mitsuhiko https://github.com/mitsuhiko/dotfiles/blob/master/psql/psqlrc
-- https://postgres.cz/wiki/Pretty_borders_in_psql

-- disable output temporarily
\set QUIET on
Expand All @@ -18,9 +19,6 @@
-- disable default pager
--\pset pager off

-- https://github.com/okbob/pspg
\setenv PAGER pspg

-- border
\pset border 2

Expand All @@ -45,5 +43,11 @@
-- always auto complete in lowercase
\set COMP_KEYWORD_CASE upper

-- https://github.com/okbob/pspg
-- Switch pagers with :x and :xx commands
\set x '\\setenv PAGER less'
\set xx '\\setenv PAGER \'pspg -bX --no-mouse\''
:xx

-- quiet
\unset quiet
3 changes: 1 addition & 2 deletions .tmux.conf
Expand Up @@ -10,9 +10,9 @@ setw -g pane-base-index 1
# boost history
set -g history-limit 5000

unbind c-b
# Change the key combination for the PREFIX key to `ctrl-a`
set -g prefix c-a
unbind c-b

# Make tmux send the PREFIX to an application running
# within tmux simply by pressing PREFIX key twice
Expand All @@ -36,7 +36,6 @@ set -q -g status-utf8 on # expect UTF-8 (tmux < 2.2)
setw -q -g utf8 on



# -- display

# Notified when something happens in one of the other windows
Expand Down
2 changes: 1 addition & 1 deletion .vimrc
Expand Up @@ -56,7 +56,7 @@ if has('nvim')
Plug 'roxma/vim-hug-neovim-rpc'
let g:deoplete#enable_at_startup = 1
endif
Plug 'wellle/context.vim'
"Plug 'wellle/context.vim'

" -- Languages
Plug 'dag/vim-fish'
Expand Down

0 comments on commit 8e0447b

Please sign in to comment.