Compare commits

...

3 Commits

Author SHA1 Message Date
df9e995030 consume arguments 2023-09-04 21:24:46 -06:00
a7e7bb3a63 added jobs to PS1 2023-09-04 21:24:29 -06:00
ea216f80ea theme 2023-09-04 21:24:01 -06:00
3 changed files with 14 additions and 4 deletions

View File

@ -6,8 +6,7 @@
[[ $- != *i* ]] && return
# alias ls='ls --color=auto'
PS1='+$(jobs | wc -l)\[\e[0;38;5;24m\][\[\e[0;38;5;24m\]$(ip route get 1.1.1.1 2>/dev/null | awk -F"src " '"'"'NR==1{split($2,a," ");print a[1]}'"'"')\[\e[0;38;5;46m\]:\[\e[0;38;5;208m\]\W\[\e[0;38;5;24m\]]\[\e[0;38;5;24m\]\$ \[\e[0m\]'
PS1='\[\e[38;5;249m\]+$(jobs | wc -l)\[\e[38;5;24m\][$(ip route get 1.1.1.1 2>/dev/null | awk -F"src " '"'"'NR==1{split($2,a," ");print a[1]}'"'"')\[\e[38;5;46m\]:\[\e[38;5;208m\]\W\[\e[38;5;24m\]]\$ \[\e[0m\]'
alias luamake=/home/oliver/sources/lua-language-server/3rd/luamake/luamake
alias l=lfcd
alias clip="xclip -selection clipboard"

View File

@ -4,6 +4,8 @@ call plug#begin('~/.config/nvim/plugged')
Plug 'https://github.com/vim-airline/vim-airline' " status bset mouse=aar on the bottom
Plug 'https://github.com/preservim/nerdtree' " file tree
Plug 'https://github.com/airblade/vim-gitgutter' " git diff
Plug 'luochen1990/rainbow'
Plug 'navarasu/onedark.nvim'
" Plug 'https://github.com/weilbith/nvim-code-action-menu' " fix my shit helper window :)
Plug 'neoclide/coc.nvim', {'branch': 'release'} " code completion
@ -20,10 +22,19 @@ call plug#end()
:set updatetime=250
:set tabstop=4 shiftwidth=4 smarttab
:highlight Comment ctermfg=Grey
:set background=light
" =============== Colors ====================
let g:onedark_config = {
\ 'style': 'warmer',
\}
colorscheme onedark
:hi CocFloating guifg=clear guibg=#151515
:hi Pmenu guibg=#151515 guifg=clear
" =============== NERDTree Config ================================================
:let NERDTreeShowHidden=1
"
" =============== Rainbow Config ================================================
:let g:rainbow_active = 1
" =============== COC Config ================================================

View File

@ -1,3 +1,3 @@
#!/bin/bash
sudo docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}'
sudo docker inspect $@ -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}'