commits indeed

This commit is contained in:
joelchrono12 2021-12-06 21:26:11 -06:00
parent 4e10833fab
commit 87b01403b1
Signed by: chrono
GPG Key ID: E23D9C7FA57497A6
21 changed files with 37 additions and 29 deletions

View File

@ -206,6 +206,7 @@ alias gco='git checkout'
alias gcm='git commit'
alias gb='git branch'
alias cleandwm='make clean && rm -f config.h && git reset --hard origin/master'
alias casawifi='nmcli device wifi connect INFINITUMIVSL_2.4'
# alias picom='picom --experimental-backends --backend glx --blur-method 'dual_kawase' --blur-strength 6 & disown'
alias ssh='TERM=xterm-256color ssh'
@ -219,7 +220,6 @@ eval "$(starship init bash)"
pfetch
################################################################################
# Install Ruby Gems to ~/gems
export GEM_HOME="$HOME/gems"
export PATH="$HOME/.local/share/gem/ruby/3.0.0/bin:$PATH"
export GOBIN="$HOME/go/bin"
export GOPATH="$HOME/go"
@ -228,3 +228,6 @@ export PATH="$PATH:$GOBIN"
export _JAVA_AWT_WM_NONREPARENTING=1
source /home/joelchrono12/.config/broot/launcher/bash/br
# Install Ruby Gems to ~/gems
export GEM_HOME="$HOME/gems"
export PATH="$HOME/gems/bin:$PATH"

View File

@ -1208,7 +1208,8 @@ function! s:update_impl(pull, force, args) abort
normal! 2G
silent! redraw
let s:clone_opt = []
" Set remote name, overriding a possible user git config's clone.defaultRemoteName
let s:clone_opt = ['--origin', 'origin']
if get(g:, 'plug_shallow', 1)
call extend(s:clone_opt, ['--depth', '1'])
if s:git_version_requirement(1, 7, 10)

View File

@ -116,6 +116,10 @@ let s:TYPE = {
let s:loaded = get(s:, 'loaded', {})
let s:triggers = get(s:, 'triggers', {})
function! s:is_powershell(shell)
return a:shell =~# 'powershell\(\.exe\)\?$' || a:shell =~# 'pwsh\(\.exe\)\?$'
endfunction
function! s:isabsolute(dir) abort
return a:dir =~# '^/' || (has('win32') && a:dir =~? '^\%(\\\|[A-Z]:\)')
endfunction
@ -263,7 +267,7 @@ function! s:define_commands()
endif
if has('win32')
\ && &shellslash
\ && (&shell =~# 'cmd\(\.exe\)\?$' || &shell =~# 'powershell\(\.exe\)\?$')
\ && (&shell =~# 'cmd\(\.exe\)\?$' || s:is_powershell(&shell))
return s:err('vim-plug does not support shell, ' . &shell . ', when shellslash is set.')
endif
if !has('nvim')
@ -503,7 +507,7 @@ if s:is_win
let batchfile = s:plug_tempname().'.bat'
call writefile(s:wrap_cmds(a:cmd), batchfile)
let cmd = plug#shellescape(batchfile, {'shell': &shell, 'script': 0})
if &shell =~# 'powershell\(\.exe\)\?$'
if s:is_powershell(&shell)
let cmd = '& ' . cmd
endif
return [batchfile, cmd]
@ -984,7 +988,7 @@ function! s:chsh(swap)
set shell=sh
endif
if a:swap
if &shell =~# 'powershell\(\.exe\)\?$' || &shell =~# 'pwsh$'
if s:is_powershell(&shell)
let &shellredir = '2>&1 | Out-File -Encoding UTF8 %s'
elseif &shell =~# 'sh' || &shell =~# 'cmd\(\.exe\)\?$'
set shellredir=>%s\ 2>&1
@ -2225,7 +2229,7 @@ function! plug#shellescape(arg, ...)
let script = get(opts, 'script', 1)
if shell =~# 'cmd\(\.exe\)\?$'
return s:shellesc_cmd(a:arg, script)
elseif shell =~# 'powershell\(\.exe\)\?$' || shell =~# 'pwsh$'
elseif s:is_powershell(shell)
return s:shellesc_ps1(a:arg)
endif
return s:shellesc_sh(a:arg)
@ -2277,7 +2281,7 @@ function! s:system(cmd, ...)
return system(a:cmd)
endif
let cmd = join(map(copy(a:cmd), 'plug#shellescape(v:val, {"shell": &shell, "script": 0})'))
if &shell =~# 'powershell\(\.exe\)\?$'
if s:is_powershell(&shell)
let cmd = '& ' . cmd
endif
else

@ -1 +1 @@
Subproject commit 0e71462f90fb4bd09121eeba829512cc24ab5c97
Subproject commit eed488b1cd1867bd25f19f90e10440c5cc7d6424

@ -1 +1 @@
Subproject commit 595e60210f7d0c9e5a21672428bae8c3f518a3b9
Subproject commit 287c743c9f227fdf0e1db452bbb8ae3c5caffc36

@ -1 +1 @@
Subproject commit be8fd1da7209ee08a7fa5424c6d81c644b32744f
Subproject commit 208cb28ed1d81d9207509f7254f436335822ec93

@ -1 +1 @@
Subproject commit a865dec7ca7616dbbd69315ad1417b84d0c411f8
Subproject commit a9c7283dce60ffcdec952384f6451ff42f8914f2

@ -1 +1 @@
Subproject commit dba3e04ab97bf80d41c0d30f34ecde8ca2762c47
Subproject commit 961cc1850bd7d5657aa5789f81487d4d85747d2b

@ -1 +0,0 @@
Subproject commit b06d921023cf6536bcbee5754071d122296e8942

@ -1 +1 @@
Subproject commit 4412a84d7fbfd01281bf23d801e95c45c1eacc09
Subproject commit eebac6c4fce06d3b849cccd213b7233d37ab037f

@ -1 +1 @@
Subproject commit 2c87cae76ed88f3b0c957df68c03573ecafa3728
Subproject commit eddd535bdf8472db469b48ac8cf826871b340c4b

@ -1 +1 @@
Subproject commit 8d8b9bf86bbc715a055b54cb53f0643fd664caa4
Subproject commit df497a7b396d32a721fa72bd9119db2bca3deed6

@ -1 +1 @@
Subproject commit 0de4c9df21abf9256091d205148601f718d3a12c
Subproject commit 841a3551965e729e9f1ccd1aca758bdc84af2abf

@ -1 +1 @@
Subproject commit d523feebe99bb93a9309ef83cbac2b71ac408c36
Subproject commit 5a24c2527584e4e61a706ad7ecb3514ac7031307

@ -1 +1 @@
Subproject commit c34c73a4269857e694cda38431601ab753fcbc3f
Subproject commit a319aaf6bf652dadb197807e4629ff5b1750a17b

@ -1 +1 @@
Subproject commit a355b8a3d6cea176914bc2623a1641b72a051e14
Subproject commit c68ce5504fa64b31a5bc3029460faa84f84b598c

@ -1 +1 @@
Subproject commit ce31cd1d2f4e8eee9fd91325e4599f15cb9566fd
Subproject commit 918610d427503c5c7b380eae4a954bd8cb427db5

@ -1 +1 @@
Subproject commit 35e9fbf64c06fddc41651e65b92200f902d8ae0b
Subproject commit 01a395df00adbb57813e852f2e83ffb12375f1b6

View File

@ -25,7 +25,7 @@ call plug#begin('~/.config/nvim/autoload/plugged')
Plug 'godlygeek/tabular'
Plug 'joshdick/onedark.vim'
Plug 'romgrk/doom-one.vim'
Plug 'jremmen/vim-ripgrep'
"Plug 'jremmen/vim-ripgrep'
Plug 'kien/ctrlp.vim'
Plug 'dhruvasagar/vim-table-mode'
"Plug 'ycm-core/YouCompleteMe'

View File

@ -219,6 +219,7 @@ opacity-rule = [
"100:class_g = 'Meld'",
"90:class_g = 'Joplin'",
"100:class_g = 'firefox'",
"100:class_g = 'Vivaldi-stable'",
"100:class_g = 'mpv'",
"100:class_g = 'vlc'",
"100:class_g = 'Thunderbird'",

View File

@ -1,14 +1,14 @@
#! /bin/bash
path=/home/joelchrono12/git/joelchrono12.ml/_posts/
title=$(rofi -l 0 -width 50 -p "Title:" -dmenu)
title=$(rofi -l 0 -width 50 -p "Title" -dmenu)
filen=$(echo $title | tr " ,.!" "-"| awk '{print tolower($0)}')
if [ -z $title ]; then
exit
fi
today=$(date +"%Y-%m-%d")
filename=($today-$filen)
description=$(rofi -l 0 -width 60 -height 20 -p "Description:" -dmenu)
tags=$(rofi -l 0 -width 45 -p "Tags:" -dmenu)
description=$(rofi -l 0 -width 60 -height 20 -p "Description" -dmenu)
tags=$(rofi -l 0 -width 45 -p "Tags" -dmenu)
num=0
while [ $num = 0 ]; do
choice=$(echo -e "Edit file\nEdit title\nEdit description\nEdit tags\nCancel" | rofi -width 15 -l 5-p "Now?:" -dmenu)
@ -20,11 +20,11 @@ while [ $num = 0 ]; do
alacritty -e nvim $path/$filename.md & disown
#cp $path/$filename.md ~/Documents
elif [[ $choice = "Edit title" ]]; then
title=$(rofi -l 0 -width 50 -p "Title:" -dmenu)
title=$(rofi -l 0 -width 50 -p "Title" -dmenu)
elif [[ $choice = "Edit description" ]]; then
description=$(rofi -l 0 -width 60 -height 20 -p "Description:" -dmenu)
description=$(rofi -l 0 -width 60 -height 20 -p "Description" -dmenu)
elif [[ $choice = "Edit tags" ]]; then
tags=$(rofi -l 0 -width 45 -p "Tags:" -dmenu)
tags=$(rofi -l 0 -width 45 -p "Tags" -dmenu)
else
num=1
fi