mirror of
https://github.com/theniceboy/.config.git
synced 2025-12-26 14:44:57 +08:00
Merge branch 'master' of https://github.com/theniceboy/.config
This commit is contained in:
commit
e16cede414
5 changed files with 16 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -40,3 +40,4 @@ ranger/plugins/devicons_linemode.pyo
|
|||
!/pudb/
|
||||
/pudb/*
|
||||
!/pudb/pudb.cfg
|
||||
!/bin
|
||||
|
|
|
|||
10
bin/update_config
Executable file
10
bin/update_config
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#/usr/bin/env bash
|
||||
|
||||
cd ~/.config
|
||||
git pull
|
||||
cd ~/.sconfig
|
||||
git pull
|
||||
cd ~/scripts
|
||||
git pull
|
||||
cd ~/.config/nvim
|
||||
git pull
|
||||
|
|
@ -16,7 +16,7 @@ set confirm_on_delete multiple
|
|||
# Use non-default path for file preview script?
|
||||
# ranger ships with scope.sh, a script that calls external programs (see
|
||||
# README.md for dependencies) to preview images, archives, etc.
|
||||
set preview_script /home/david/.config/ranger/scope.sh
|
||||
set preview_script ~/.config/ranger/scope.sh
|
||||
|
||||
# Use the external preview script or display simple plain text or image previews?
|
||||
set use_preview_script true
|
||||
|
|
@ -382,7 +382,7 @@ map gM cd /mnt
|
|||
map gG cd ~/go/src
|
||||
map gp cd ~/prog
|
||||
map gw cd ~/Pictures/wallpapers
|
||||
source /home/david/.sconfig/ranger/rc.conf
|
||||
source ~/.sconfig/ranger/rc.conf
|
||||
|
||||
|
||||
# In case you work on a keyboard with dvorak layout
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
export GOPATH=$HOME/go
|
||||
export PATH=$PATH:$HOME/.gem/ruby/2.6.0
|
||||
export PATH=$PATH:/usr/local/bin
|
||||
export PATH=$PATH:$HOME/go/bin
|
||||
export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin
|
||||
export PATH=$PATH:$HOME/.local/bin
|
||||
|
|
@ -7,14 +8,15 @@ export PATH=$PATH:$HOME/.config/bin
|
|||
export PATH=$PATH:/snap/bin
|
||||
#export TERM=xterm-256color
|
||||
export PATH=$PATH:/home/david/prog/flutter/bin
|
||||
export PATH=$PATH:/Users/david/prog/flutter/bin
|
||||
export TERM=xterm-256color
|
||||
export TERM_ITALICS=true
|
||||
export RANGER_LOAD_DEFAULT_RC="false"
|
||||
#export TERM=screen-256color
|
||||
export EDITOR=nvim
|
||||
export XDG_CONFIG_HOME=/home/david/.config
|
||||
export ZSH_AUTOSUGGEST_USE_ASYNC=1
|
||||
export ZSH_AUTOSUGGEST_MANUAL_REBIND=1
|
||||
export XDG_CONFIG_HOME=$HOME/.config
|
||||
|
||||
# fzf
|
||||
export FZF_DEFAULT_OPTS='--bind ctrl-e:down,ctrl-u:up --preview "[[ $(file --mime {}) =~ binary ]] && echo {} is a binary file || (ccat --color=always {} || highlight -O ansi -l {} || cat {}) 2> /dev/null | head -500"'
|
||||
|
|
|
|||
|
|
@ -4,8 +4,6 @@ source ~/.config/zsh/plugins.zsh
|
|||
source ~/.config/zsh/vi.zsh
|
||||
source ~/.config/zsh/fzf.zsh
|
||||
|
||||
|
||||
|
||||
if [ -f ~/.sconfig/zsh/zshrc ]; then
|
||||
source ~/.sconfig/zsh/zshrc
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue