Update prompt command to save history lines on each invocation
This commit is contained in:
parent
123e71a6ee
commit
47f0bfd1fe
5 changed files with 12 additions and 2 deletions
|
@ -18,6 +18,7 @@ export EDITOR=nvim
|
|||
|
||||
# append to the history file rather than overwriting it
|
||||
shopt -s histappend
|
||||
export PROMPT_COMMAND="history -a; $PROMPT_COMMAND"
|
||||
|
||||
# check the window size after each command and, if necessary,
|
||||
# update the values of LINES and COLUMNS.
|
||||
|
@ -75,3 +76,8 @@ fi
|
|||
|
||||
# Add rustup and the standard rust tooling to the path
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
if [ -d "$HOME/.fly" ] ; then
|
||||
export FLYCTL_INSTALL="$HOME/.fly"
|
||||
export PATH="$FLYCTL_INSTALL/bin:$PATH"
|
||||
fi
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
default = simple
|
||||
autoSetupRemote = true
|
||||
[core]
|
||||
excludesfile = /home/nicholas/.gitignore_global
|
||||
excludesfile = /home/nicole/.gitignore_global
|
||||
editor = nvim
|
||||
[alias]
|
||||
praise = blame
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
*.swp
|
||||
Session.vim
|
||||
/Session.vim
|
||||
|
|
|
@ -10,6 +10,9 @@ source $HOME/.config/nvim/completion.lua
|
|||
|
||||
syntax on
|
||||
filetype plugin indent on
|
||||
augroup filetypedetect
|
||||
au! BufRead,BufNewFile *.hurl setfiletype hurl
|
||||
augroup END
|
||||
|
||||
" Nice navigaton shortcuts
|
||||
map <C-n> :NERDTreeToggle<CR>:resize<CR>
|
||||
|
|
|
@ -18,6 +18,7 @@ Plug 'tpope/vim-fugitive' " whose fault is it
|
|||
Plug 'nvim-treesitter/nvim-treesitter', { 'do': ':TSUpdate' }
|
||||
Plug 'ntietz/tla.vim'
|
||||
Plug 'fatih/vim-go'
|
||||
Plug 'pest-parser/pest.vim'
|
||||
|
||||
" Use common config to setup tab depth
|
||||
Plug 'editorconfig/editorconfig-vim'
|
||||
|
|
Loading…
Reference in a new issue