Skip to content

Commit

Permalink
reset terminal with stty sane
Browse files Browse the repository at this point in the history
  • Loading branch information
andys8 committed Jan 22, 2025
1 parent 91f61d0 commit c73821e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions fish/config.fish
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ abbr -a -- pacu 'sudo pacman -Syu'
abbr -a -- r ranger
abbr -a -- rgf 'rg --files | rg'
abbr -a -- rm trash
abbr -a -- ss 'stty sane'
abbr -a -- stacktest stack-test
abbr -a -- stb 'stack build --test --no-run-tests'
abbr -a -- stbw 'stack build --test --no-run-tests --file-watch'
Expand Down
3 changes: 3 additions & 0 deletions vimrc.local
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ autocmd BufNewFile,BufRead *.mdx set filetype=markdown
let test#javascript#runner = 'jest'
command! Jest execute '!npx jest %'

" Clean tty on close
autocmd VimLeave * !stty sane

" Include temporary vim settings
if filereadable("/tmp/.vimrc")
source /tmp/.vimrc
Expand Down

0 comments on commit c73821e

Please sign in to comment.