update install scripts
This commit is contained in:
parent
d43151c86a
commit
ceec338c16
@ -85,7 +85,7 @@ window:
|
|||||||
#
|
#
|
||||||
# Override the variant of the GTK theme. Commonly supported values are `dark`
|
# Override the variant of the GTK theme. Commonly supported values are `dark`
|
||||||
# and `light`. Set this to `None` to use the default theme variant.
|
# and `light`. Set this to `None` to use the default theme variant.
|
||||||
gtk_theme_variant: dark
|
windows.decorations_theme_variant: dark
|
||||||
|
|
||||||
#scrolling:
|
#scrolling:
|
||||||
# Maximum number of lines in the scrollback buffer.
|
# Maximum number of lines in the scrollback buffer.
|
||||||
@ -284,6 +284,9 @@ live_config_reload: true
|
|||||||
# program: /bin/bash
|
# program: /bin/bash
|
||||||
# args:
|
# args:
|
||||||
# - --login
|
# - --login
|
||||||
|
shell:
|
||||||
|
program: /bin/zsh
|
||||||
|
|
||||||
# Startup directory
|
# Startup directory
|
||||||
#
|
#
|
||||||
# Directory the shell is started in. If this is unset, or `None`, the working
|
# Directory the shell is started in. If this is unset, or `None`, the working
|
||||||
|
@ -83,7 +83,7 @@ sticker_file "/home/jeff/.config/mpd/sticker.sql"
|
|||||||
# For network
|
# For network
|
||||||
#bind_to_address "localhost"
|
#bind_to_address "localhost"
|
||||||
bind_to_address "127.0.0.1"
|
bind_to_address "127.0.0.1"
|
||||||
bind_to_address "192.168.0.1"
|
bind_to_address "192.168.1.1"
|
||||||
#
|
#
|
||||||
# And for Unix Socket
|
# And for Unix Socket
|
||||||
# bind_to_address "/home/jeff/.config/mpd/socket"
|
# bind_to_address "/home/jeff/.config/mpd/socket"
|
||||||
@ -128,7 +128,7 @@ metadata_to_use "albumartist,artist,album,title,track,name,genre,date,disc"
|
|||||||
# This setting enables automatic update of MPD's database when files in
|
# This setting enables automatic update of MPD's database when files in
|
||||||
# music_directory are changed.
|
# music_directory are changed.
|
||||||
#
|
#
|
||||||
#auto_update "yes"
|
auto_update "yes"
|
||||||
#
|
#
|
||||||
# Limit the depth of the directories being watched, 0 means only watch
|
# Limit the depth of the directories being watched, 0 means only watch
|
||||||
# the music directory itself. There is no limit by default.
|
# the music directory itself. There is no limit by default.
|
||||||
@ -311,7 +311,8 @@ input {
|
|||||||
audio_output {
|
audio_output {
|
||||||
type "pulse"
|
type "pulse"
|
||||||
name "MPD pulse output"
|
name "MPD pulse output"
|
||||||
# server "localhost" # optional
|
server "127.0.0.1" # optional
|
||||||
|
mixer_type "software"
|
||||||
# sink "alsa_output.pci-0000_00_1b.0.analog-stereo" # optional
|
# sink "alsa_output.pci-0000_00_1b.0.analog-stereo" # optional
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
ASTROID_BIN=$(which astroid)
|
MAILCLIENT_BIN=$(which aerc)
|
||||||
NOTMUCH_BIN=$(which notmuch)
|
NOTMUCH_BIN=$(which notmuch)
|
||||||
NOTIFY_BIN=$(which notify-send)
|
NOTIFY_BIN=$(which notify-send)
|
||||||
|
|
||||||
|
@ -18,11 +18,11 @@
|
|||||||
" no select by `"suggest.noselect": true` in your configuration file
|
" no select by `"suggest.noselect": true` in your configuration file
|
||||||
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
|
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
|
||||||
" other plugin before putting this into your config
|
" other plugin before putting this into your config
|
||||||
inoremap <silent><expr> <TAB>
|
" inoremap <silent><expr> <TAB>
|
||||||
\ coc#pum#visible() ? coc#pum#next(1) :
|
" \ coc#pum#visible() ? coc#pum#next(1) :
|
||||||
\ CheckBackspace() ? "\<Tab>" :
|
" \ CheckBackspace() ? "\<Tab>" :
|
||||||
\ coc#refresh()
|
" \ coc#refresh()
|
||||||
inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
|
" inoremap <expr><S-TAB> coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"
|
||||||
|
|
||||||
" Make <CR> to accept selected completion item or notify coc.nvim to format
|
" Make <CR> to accept selected completion item or notify coc.nvim to format
|
||||||
" <C-g>u breaks current undo, please make your own choice
|
" <C-g>u breaks current undo, please make your own choice
|
||||||
|
@ -35,15 +35,15 @@ call ddc#custom#patch_filetype('markdown', 'sourceParams', {
|
|||||||
\ 'around': {'maxSize': 100},
|
\ 'around': {'maxSize': 100},
|
||||||
\ })
|
\ })
|
||||||
|
|
||||||
" Mappings
|
" " Mappings
|
||||||
" <TAB>: completion.
|
" " <TAB>: completion.
|
||||||
inoremap <silent><expr> <TAB>
|
" inoremap <silent><expr> <TAB>
|
||||||
\ ddc#map#pum_visible() ? '<C-n>' :
|
" \ ddc#map#pum_visible() ? '<C-n>' :
|
||||||
\ (col('.') <= 1 <Bar><Bar> getline('.')[col('.') - 2] =~# '\s') ?
|
" \ (col('.') <= 1 <Bar><Bar> getline('.')[col('.') - 2] =~# '\s') ?
|
||||||
\ '<TAB>' : ddc#map#manual_complete()
|
" \ '<TAB>' : ddc#map#manual_complete()
|
||||||
|
|
||||||
" <S-TAB>: completion back.
|
" " <S-TAB>: completion back.
|
||||||
inoremap <expr><S-TAB> ddc#map#pum_visible() ? '<C-p>' : '<C-h>'
|
" inoremap <expr><S-TAB> ddc#map#pum_visible() ? '<C-p>' : '<C-h>'
|
||||||
|
|
||||||
" Use ddc.
|
" Use ddc.
|
||||||
call ddc#enable()
|
call ddc#enable()
|
||||||
|
@ -250,7 +250,7 @@ set hlsearch
|
|||||||
set incsearch
|
set incsearch
|
||||||
|
|
||||||
" Don't redraw while executing macros (good performance config)
|
" Don't redraw while executing macros (good performance config)
|
||||||
set lazyredraw
|
set nolazyredraw
|
||||||
|
|
||||||
" For regular expressions turn magic on
|
" For regular expressions turn magic on
|
||||||
set magic
|
set magic
|
||||||
@ -418,10 +418,10 @@ let g:buffet_right_trunc_icon = "\uf0a9"
|
|||||||
" -----
|
" -----
|
||||||
|
|
||||||
" Highlight the symbol and its references when holding the cursor.
|
" Highlight the symbol and its references when holding the cursor.
|
||||||
autocmd CursorHold * silent call CocActionAsync('highlight')
|
" autocmd CursorHold * silent call CocActionAsync('highlight')
|
||||||
|
|
||||||
" Disable warnings
|
" Disable warnings
|
||||||
let g:coc_disable_startup_warning = 1
|
" let g:coc_disable_startup_warning = 1
|
||||||
|
|
||||||
" -----
|
" -----
|
||||||
" }}}
|
" }}}
|
||||||
@ -649,6 +649,16 @@ lua require("noice").setup()
|
|||||||
" -----
|
" -----
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|
||||||
|
" Notify {{{
|
||||||
|
" -----
|
||||||
|
|
||||||
|
lua require("notify").setup()
|
||||||
|
|
||||||
|
" -----
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
|
||||||
" OCaml {{{
|
" OCaml {{{
|
||||||
" -----
|
" -----
|
||||||
|
|
||||||
@ -743,6 +753,15 @@ let g:tmux_navigator_save_on_switch = 2
|
|||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
|
|
||||||
|
" Treesitter {{{
|
||||||
|
" -----
|
||||||
|
|
||||||
|
lua require'nvim-treesitter.configs'.setup{highlight={enable=true}}
|
||||||
|
|
||||||
|
" -----
|
||||||
|
" }}}
|
||||||
|
|
||||||
|
|
||||||
" Vimroom {{{
|
" Vimroom {{{
|
||||||
" -----
|
" -----
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
" -----
|
" -----
|
||||||
|
|
||||||
" For COC
|
" For COC
|
||||||
verbose imap <tab>
|
" verbose imap <tab>
|
||||||
|
|
||||||
" Disable highlights when you press <leader><cr>:
|
" Disable highlights when you press <leader><cr>:
|
||||||
map <silent> <leader><cr> :noh<cr>
|
map <silent> <leader><cr> :noh<cr>
|
||||||
@ -51,14 +51,6 @@ map <C-s> :saveas<space>
|
|||||||
" Buffers {{{
|
" Buffers {{{
|
||||||
" -----
|
" -----
|
||||||
|
|
||||||
" command! -bang -nargs=? -complete=dir Files
|
|
||||||
" \ call fzf#vim#files(
|
|
||||||
" \ <q-args>,
|
|
||||||
" \ fzf#vim#with_preview(
|
|
||||||
" \ {'options': ['--layout=reverse', '--info=inline']}
|
|
||||||
" \ ),
|
|
||||||
" \ <bang>0
|
|
||||||
" \ )
|
|
||||||
command -bang CloseBuffer :call CloseBuffer()
|
command -bang CloseBuffer :call CloseBuffer()
|
||||||
|
|
||||||
map <Leader>ff <cmd>lua require('telescope.builtin').find_files()<cr>
|
map <Leader>ff <cmd>lua require('telescope.builtin').find_files()<cr>
|
||||||
|
@ -58,6 +58,12 @@ Plug 'bagrat/vim-buffet', { 'as': 'buffet' }
|
|||||||
Plug 'nvim-lua/plenary.nvim'
|
Plug 'nvim-lua/plenary.nvim'
|
||||||
Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' }
|
Plug 'nvim-telescope/telescope.nvim', { 'tag': '0.1.0' }
|
||||||
|
|
||||||
|
" Treesitter
|
||||||
|
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
|
||||||
|
|
||||||
|
" Nvim-notify
|
||||||
|
Plug 'rcarriga/nvim-notify'
|
||||||
|
|
||||||
" Noice
|
" Noice
|
||||||
Plug 'folke/noice.nvim'
|
Plug 'folke/noice.nvim'
|
||||||
Plug 'MunifTanjim/nui.nvim'
|
Plug 'MunifTanjim/nui.nvim'
|
||||||
@ -83,6 +89,9 @@ Plug 'Konfekt/FastFold'
|
|||||||
" Grammalecte
|
" Grammalecte
|
||||||
Plug 'dpelle/vim-Grammalecte'
|
Plug 'dpelle/vim-Grammalecte'
|
||||||
|
|
||||||
|
" LanguageTool
|
||||||
|
Plug 'dpelle/vim-LanguageTool'
|
||||||
|
|
||||||
" Markdown
|
" Markdown
|
||||||
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
|
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
|
||||||
Plug 'godlygeek/tabular'
|
Plug 'godlygeek/tabular'
|
||||||
@ -142,16 +151,7 @@ Plug 'edkolev/tmuxline.vim'
|
|||||||
Plug 'benmills/vimux'
|
Plug 'benmills/vimux'
|
||||||
|
|
||||||
" Colorschemes
|
" Colorschemes
|
||||||
" Plug 'jdsimcoe/abstract.vim', { 'as': 'abstract' }
|
|
||||||
" Plug 'romainl/Apprentice', { 'as': 'apprentice' }
|
|
||||||
" Plug 'jdsimcoe/hyper.vim', { 'as': 'hyper' }
|
|
||||||
" Plug 'dracula/vim', { 'as': 'dracula' }
|
|
||||||
" Plug 'nanotech/jellybeans.vim', { 'as': 'jellybeans' }
|
|
||||||
" Plug 'hardcoreplayers/oceanic-material', { 'as': 'oceanic' }
|
|
||||||
" Plug 'xero/sourcerer.vim', { 'as': 'sourcerer' }
|
|
||||||
Plug 'connorholyday/vim-snazzy', { 'as': 'snazzy' }
|
Plug 'connorholyday/vim-snazzy', { 'as': 'snazzy' }
|
||||||
" Plug 'jacoborus/tender.vim', { 'as': 'tender' }
|
|
||||||
" Plug 'dylanaraps/wal.vim'
|
|
||||||
|
|
||||||
" Sudo workaround plugin
|
" Sudo workaround plugin
|
||||||
Plug 'lambdalisue/suda.vim'
|
Plug 'lambdalisue/suda.vim'
|
||||||
|
@ -108,4 +108,6 @@
|
|||||||
"terminal.integrated.defaultProfile.linux": "zsh",
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
||||||
"git.enableSmartCommit": true,
|
"git.enableSmartCommit": true,
|
||||||
"editor.fontFamily": "'Source Code Pro', 'Nunito Sans', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
|
"editor.fontFamily": "'Source Code Pro', 'Nunito Sans', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
|
||||||
|
"workbench.colorTheme": "Visual Studio 2019 Dark",
|
||||||
|
"autoHeader": {},
|
||||||
}
|
}
|
12
conf.d/zim/modules/jl-helper/functions/update_auth_sock
Normal file
12
conf.d/zim/modules/jl-helper/functions/update_auth_sock
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
update_auth_sock() {
|
||||||
|
local socket_path="$(tmux show-environment | sed -n 's/^SSH_AUTH_SOCK=//p')"
|
||||||
|
|
||||||
|
if ! [[ "$socket_path" ]]; then
|
||||||
|
echo 'no socket path' >&2
|
||||||
|
return 1
|
||||||
|
else
|
||||||
|
export SSH_AUTH_SOCK="$socket_path"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
compdef _files update_auth_sock
|
@ -29,16 +29,19 @@ alias neomutt='neomutt -f ${HOME}/Mail/jeff.lance@mala.fr/inbox/'
|
|||||||
# Utilities
|
# Utilities
|
||||||
#
|
#
|
||||||
|
|
||||||
alias rs='rsync -Pavzl' # rsync shortcut
|
alias ip='ip -c' # ip address
|
||||||
alias ls='lsd' # pretty ls
|
# alias ls='lsd' # pretty ls
|
||||||
alias md='mkdir -p' # mkdir alias
|
alias md='mkdir -p' # mkdir alias
|
||||||
alias open='xdg-open' # open files
|
alias open='xdg-open' # open files
|
||||||
|
alias pips='pip_search' # pip search tool
|
||||||
|
alias rs='rsync -Pavzl' # rsync shortcut
|
||||||
alias t='tmux' # tmux
|
alias t='tmux' # tmux
|
||||||
alias ta='t a -t' # tmux attach to a session
|
alias ta='t a -t' # tmux attach to a session
|
||||||
alias tls='t ls' # tmux list sessions
|
alias tls='t ls' # tmux list sessions
|
||||||
|
alias tvs='transcode-video --scan' # tmux new session
|
||||||
alias tn='t n -t' # tmux new session
|
alias tn='t n -t' # tmux new session
|
||||||
alias xcolor='xcolor | xclip -i' # xcolor
|
alias xcolor='xcolor | xclip -i' # xcolor
|
||||||
alias youtube-dl='youtube-dl -f best' # youtube-dl best download
|
alias yd='yt-dlp' # yt-dlp best download
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Binary file not shown.
BIN
conf.d/zim/modules/manjaro/init.zsh.zwc
Normal file
BIN
conf.d/zim/modules/manjaro/init.zsh.zwc
Normal file
Binary file not shown.
@ -3,16 +3,31 @@
|
|||||||
# Modules
|
# Modules
|
||||||
# -------
|
# -------
|
||||||
|
|
||||||
|
# Environment
|
||||||
|
#
|
||||||
# Sets sane Zsh built-in environment options.
|
# Sets sane Zsh built-in environment options.
|
||||||
zmodule environment
|
zmodule environment
|
||||||
# Provides handy git aliases and functions.
|
|
||||||
zmodule git
|
|
||||||
# Applies correct bindkeys for input events.
|
# Applies correct bindkeys for input events.
|
||||||
zmodule input
|
zmodule input
|
||||||
|
|
||||||
|
# Completion
|
||||||
|
#
|
||||||
|
# Additional completion definitions for Zsh.
|
||||||
|
zmodule zsh-users/zsh-completions
|
||||||
|
# Buku completions modules
|
||||||
|
zmodule buku
|
||||||
|
# Enables and configures smart and extensive tab completion.
|
||||||
|
# completion must be sourced after zsh-users/zsh-completions
|
||||||
|
zmodule completion
|
||||||
|
# Fish-like autosuggestions for Zsh.
|
||||||
|
zmodule zsh-users/zsh-autosuggestions
|
||||||
|
|
||||||
|
# Productivity
|
||||||
|
#
|
||||||
|
# Provides handy git aliases and functions.
|
||||||
|
zmodule git
|
||||||
# Sets a custom terminal title.
|
# Sets a custom terminal title.
|
||||||
zmodule termtitle
|
zmodule termtitle
|
||||||
# Utility aliases and functions. Adds colour to ls, grep and less.
|
|
||||||
zmodule utility
|
|
||||||
# Provides archive and unarchive functions for easy archive manipulation.
|
# Provides archive and unarchive functions for easy archive manipulation.
|
||||||
zmodule archive
|
zmodule archive
|
||||||
# Manjaro aliases and functions.
|
# Manjaro aliases and functions.
|
||||||
@ -25,6 +40,21 @@ zmodule sudo
|
|||||||
zmodule https://github.com/rupa/z.git
|
zmodule https://github.com/rupa/z.git
|
||||||
# zsh-kitty completion
|
# zsh-kitty completion
|
||||||
zmodule https://github.com/redxtech/zsh-kitty.git
|
zmodule https://github.com/redxtech/zsh-kitty.git
|
||||||
|
# Utility aliases and functions. Adds colour to ls, grep and less.
|
||||||
|
zmodule utility
|
||||||
|
# exa
|
||||||
|
zmodule exa
|
||||||
|
# fzf
|
||||||
|
zmodule fzf
|
||||||
|
|
||||||
|
# Syntx highlighting
|
||||||
|
#
|
||||||
|
# Fish-like syntax highlighting for Zsh.
|
||||||
|
# zsh-users/zsh-syntax-highlighting must be sourced after completion
|
||||||
|
zmodule zsh-users/zsh-syntax-highlighting
|
||||||
|
# Fish-like history search (up arrow) for Zsh.
|
||||||
|
# zsh-users/zsh-history-substring-search must be sourced after zsh-users/zsh-syntax-highlighting
|
||||||
|
zmodule zsh-users/zsh-history-substring-search
|
||||||
|
|
||||||
# Prompt
|
# Prompt
|
||||||
#
|
#
|
||||||
@ -32,20 +62,7 @@ zmodule https://github.com/redxtech/zsh-kitty.git
|
|||||||
zmodule git-info
|
zmodule git-info
|
||||||
# A customizable version of steeef's prompt theme.
|
# A customizable version of steeef's prompt theme.
|
||||||
zmodule steeef
|
zmodule steeef
|
||||||
|
# The minimal, blazing-fast, and infinitely customizable prompt for any shell!
|
||||||
|
zmodule joke/zim-starship
|
||||||
|
|
||||||
# Additional completion definitions for Zsh.
|
|
||||||
zmodule zsh-users/zsh-completions
|
|
||||||
# Buku completions modules
|
|
||||||
zmodule buku
|
|
||||||
# Enables and configures smart and extensive tab completion.
|
|
||||||
# completion must be sourced after zsh-users/zsh-completions
|
|
||||||
zmodule completion
|
|
||||||
# Fish-like autosuggestions for Zsh.
|
|
||||||
zmodule zsh-users/zsh-autosuggestions
|
|
||||||
# Fish-like syntax highlighting for Zsh.
|
|
||||||
# zsh-users/zsh-syntax-highlighting must be sourced after completion
|
|
||||||
zmodule zsh-users/zsh-syntax-highlighting
|
|
||||||
# Fish-like history search (up arrow) for Zsh.
|
|
||||||
# zsh-users/zsh-history-substring-search must be sourced after zsh-users/zsh-syntax-highlighting
|
|
||||||
zmodule zsh-users/zsh-history-substring-search
|
|
||||||
# }}} End configuration added by Zim install
|
# }}} End configuration added by Zim install
|
||||||
|
@ -17,10 +17,10 @@ path=(~/bin ~/.local/bin $path[@])
|
|||||||
# <<< set PATH so it includes user's private bin if it exists <<<
|
# <<< set PATH so it includes user's private bin if it exists <<<
|
||||||
|
|
||||||
# >>> active gnome-keyring >>>
|
# >>> active gnome-keyring >>>
|
||||||
if [ -n "${DESKTOP_SESSION}" ];then
|
# if [ -n "${DESKTOP_SESSION}" ];then
|
||||||
eval $(gnome-keyring-daemon --replace)
|
# eval $(gnome-keyring-daemon --start) 2>/dev/null
|
||||||
export SSH_AUTH_SOCK
|
# export SSH_AUTH_SOCK
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
# Check if the ssh-agent is already running
|
# Check if the ssh-agent is already running
|
||||||
# if [ "$(ps -u $USER | grep ssh-agent | wc -l)" -lt "1" ]; then
|
# if [ "$(ps -u $USER | grep ssh-agent | wc -l)" -lt "1" ]; then
|
||||||
@ -43,7 +43,7 @@ fi
|
|||||||
# >>> environment variables >>>
|
# >>> environment variables >>>
|
||||||
export BROWSER=qutebrowser
|
export BROWSER=qutebrowser
|
||||||
export EDITOR=nvim
|
export EDITOR=nvim
|
||||||
export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
# export FZF_DEFAULT_COMMAND='rg --files --no-ignore --hidden --follow --glob "!.git/*"'
|
||||||
export MYVIMRC="${HOME}/.vimrc"
|
export MYVIMRC="${HOME}/.vimrc"
|
||||||
export PASSWORD_STORE_DIR="${HOME}/Private/.password-store"
|
export PASSWORD_STORE_DIR="${HOME}/Private/.password-store"
|
||||||
export PASSWORD_STORE_ENABLE_EXTENSIONS=True
|
export PASSWORD_STORE_ENABLE_EXTENSIONS=True
|
||||||
|
@ -19,13 +19,13 @@ setopt HIST_IGNORE_ALL_DUPS
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Set editor default keymap to emacs (`-e`) or vi (`-v`)
|
# Set editor default keymap to emacs (`-e`) or vi (`-v`)
|
||||||
bindkey -e
|
bindkey -v
|
||||||
|
|
||||||
# Prompt for spelling correction of commands.
|
# Prompt for spelling correction of commands.
|
||||||
setopt CORRECT
|
setopt CORRECT
|
||||||
|
|
||||||
# Customize spelling correction prompt.
|
# Customize spelling correction prompt.
|
||||||
#SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
|
SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? '
|
||||||
|
|
||||||
# Remove path separator from WORDCHARS.
|
# Remove path separator from WORDCHARS.
|
||||||
WORDCHARS=${WORDCHARS//[\/]}
|
WORDCHARS=${WORDCHARS//[\/]}
|
||||||
@ -165,7 +165,7 @@ bindkey -M vicmd 'j' history-substring-search-down
|
|||||||
|
|
||||||
# >>> fzf initialization >>>
|
# >>> fzf initialization >>>
|
||||||
#
|
#
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
# [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
# <<< fzf initialization <<<
|
# <<< fzf initialization <<<
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -218,5 +218,19 @@ eval "$(direnv hook zsh)"
|
|||||||
#
|
#
|
||||||
|
|
||||||
# >>> starship >>>
|
# >>> starship >>>
|
||||||
eval "$(starship init zsh)"
|
# eval "$(starship init zsh)"
|
||||||
# <<< starship <<<
|
# <<< starship <<<
|
||||||
|
|
||||||
|
#
|
||||||
|
# gnome-keyring-daemon
|
||||||
|
#
|
||||||
|
eval $(gnome-keyring-daemon --start) 2>/dev/null
|
||||||
|
export SSH_AUTH_SOCK
|
||||||
|
|
||||||
|
#
|
||||||
|
# passwordstore
|
||||||
|
#
|
||||||
|
|
||||||
|
# >>> passwordstore update >>>
|
||||||
|
echo -ne "\npasswordstore: " && pass git pull
|
||||||
|
# <<< passwordstore update <<<
|
||||||
|
@ -96,9 +96,9 @@ SyncState *
|
|||||||
Expunge Both
|
Expunge Both
|
||||||
|
|
||||||
|
|
||||||
Channel jeff.lance@mala.fr-archives
|
Channel jeff.lance@mala.fr-archive
|
||||||
Far :jeff.lance@mala.fr-remote:"Archives"
|
Far :jeff.lance@mala.fr-remote:"Archive"
|
||||||
Near :jeff.lance@mala.fr-local:archives
|
Near :jeff.lance@mala.fr-local:archive
|
||||||
Pattern *
|
Pattern *
|
||||||
Create Near
|
Create Near
|
||||||
MaxMessages 1500
|
MaxMessages 1500
|
||||||
@ -113,7 +113,7 @@ Channel jeff.lance@mala.fr-sent
|
|||||||
Channel jeff.lance@mala.fr-trash
|
Channel jeff.lance@mala.fr-trash
|
||||||
Channel jeff.lance@mala.fr-drafts
|
Channel jeff.lance@mala.fr-drafts
|
||||||
Channel jeff.lance@mala.fr-junk
|
Channel jeff.lance@mala.fr-junk
|
||||||
Channel jeff.lance@mala.fr-archives
|
Channel jeff.lance@mala.fr-archive
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -12,13 +12,16 @@ name=Jeff LANCE
|
|||||||
primary_email=jeff.lance@mala.fr
|
primary_email=jeff.lance@mala.fr
|
||||||
|
|
||||||
[new]
|
[new]
|
||||||
tags=new;
|
tags=new;unread;inbox;
|
||||||
ignore=.mbsyncstate;.isyncuidmap.db;.uidvalidity;.mbsyncstate.journal;.mbsyncstate.new;.mbsyncstate.lock;/.*[.](json|lock|bak)$/;.templates;
|
ignore=.mbsyncstate;.isyncuidmap.db;.uidvalidity;.mbsyncstate.journal;.mbsyncstate.new;.mbsyncstate.lock;/.*[.](json|lock|bak)$/;.templates;
|
||||||
|
|
||||||
[search]
|
[search]
|
||||||
exclude_tags=
|
exclude_tags=deleted;spam;
|
||||||
|
|
||||||
[maildir]
|
[maildir]
|
||||||
synchronize_flags=true
|
synchronize_flags=false
|
||||||
|
|
||||||
|
[crypto]
|
||||||
|
gpg_path=gpg
|
||||||
|
|
||||||
# vim:ft=sh
|
# vim:ft=sh
|
||||||
|
@ -78,9 +78,9 @@ run '~/.tmux/plugins/tpm/tpm'
|
|||||||
|
|
||||||
# make tmux works with ssh-agent
|
# make tmux works with ssh-agent
|
||||||
set -g update-environment "DISPLAY SSH_ASKPASS \
|
set -g update-environment "DISPLAY SSH_ASKPASS \
|
||||||
SSH_AUTH_SOCK SSH_AGENT_PID \
|
SSH_AGENT_PID \
|
||||||
SSH_CONNECTION WINDOWID XAUTHORITY"
|
SSH_CONNECTION WINDOWID XAUTHORITY"
|
||||||
setenv -g SSH_AUTH_SOCK $HOME/.ssh/ssh_auth_sock
|
setenv -g SSH_AUTH_SOCK "/run/user/1000/keyring/ssh"
|
||||||
|
|
||||||
# start with a new session
|
# start with a new session
|
||||||
new-session
|
new-session
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
- shell:
|
- shell:
|
||||||
- command: '/usr/bin/env bash -c helpers/install_zsh.sh'
|
- command: '/usr/bin/env bash -c helpers/install_zsh.sh'
|
||||||
description: Installation of zsh configuration
|
description: Installation of zsh configuration
|
||||||
stderr: true
|
stderr: true
|
||||||
stdout: true
|
stdout: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user