homes/common/.config/ion/initrc
2023-10-18 02:50:18 +02:00

78 lines
32 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env ion
export COLORFGBG = "default;default"
export VISUAL = "nvim"
export EDITOR = "lvim"
export PAGER = "nvimpager"
export BROWSER = "elinks"
export PATH = $join([~/.local/bin ~/.cargo/bin ~/go/bin /usr/sbin /sbin /usr/local/sbin /usr/local/bin /usr/bin /bin /usr/games] ":")
export NOTMUCH_CONFIG = ~/.config/notmuch/notmuch-config
export KEYRING_PROPERTY_SCHEME = KeePassXC
export LS_COLORS = "lc=:rc=:ec=:cl=:rs=:mh=:ca=:bd=🖴 :cd= :di= :do=󰠚 :ex= :fi=󰡯 :ln=󰌹 :mi= :no=:or=󰌺 :ow=󱇧 :pi=󰟥 :sg= :so=󱄈 :st= 󱍥 :su= :tw= 󱍬 :*.7z= :*.CramFS= :*.Z= :*.ace= :*.alz= :*.apfs= :*.ar= :*.arc= :*.arj= :*.bz= :*.bz2= :*.bzip2= :*.cab= :*.chm= :*.cpio= :*.dmg= :*.dz= :*.ear= :*.ext= :*.fat= :*.gpt= :*.gta= :*.gtar= :*.gtz= :*.gz= :*.gzip= :*.hfs= :*.ihex= :*.iso= :*.jar= :*.lha= :*.lrz= :*.lz= :*.lz4= :*.lzh= :*.lzma= :*.lzo= :*.lzx= :*.mbr= :*.msi= :*.nsis= :*.ntfs= :*.qcow2= :*.rar= :*.rz= :*.sar= :*.squashfs= :*.swm= :*.t7z= :*.tar= :*.taz= :*.tbz= :*.tbz2= :*.tlz= :*.txz= :*.tz= :*.tzo= :*.tzst= :*.udf= :*.uefi= :*.vdi= :*.vhd= :*.vhdx= :*.vmdk= :*.war= :*.wim= :*.xar= :*.xpi= :*.xz= :*.z= :*.zip= :*.zoo= :*.zst= :*.726=󰝚 :*.AMR=󰝚 :*.AWB=󰝚 :*.QCP=󰝚 :*.aa3=󰝚 :*.aac=󰝚 :*.aal=󰝚 :*.ac3=󰝚 :*.acn=󰝚 :*.adts=󰝚 :*.aif=󰝚 :*.aifc=󰝚 :*.aiff=󰝚 :*.amr=󰝚 :*.ass=󰝚 :*.at3=󰝚 :*.atx=󰝚 :*.au=󰝚 :*.awb=󰝚 :*.axa=󰝚 :*.csd=󰝚 :*.dls=󰝚 :*.dts=󰝚 :*.dtshd=󰝚 :*.ecelp4800=󰝚 :*.ecelp7470=󰝚 :*.ecelp9600=󰝚 :*.enw=󰝚 :*.eol=󰝚 :*.evb=󰝚 :*.evc=󰝚 :*.evw=󰝚 :*.flac=󰝚 :*.gsm=󰝚 :*.hmf=󰝚 :*.hvd=󰝚 :*.hvp=󰝚 :*.hvs=󰝚 :*.kar=󰝚 :*.koz=󰝚 :*.l16=󰝚 :*.lbc=󰝚 :*.loas=󰝚 :*.lvp=󰝚 :*.ly=󰝚 :*.m3u=󰝚 :*.m4a=󰝚 :*.mhas=󰝚 :*.mid=󰝚 :*.midi=󰝚 :*.mka=󰝚 :*.mlp=󰝚 :*.mp1=󰝚 :*.mp2=󰝚 :*.mp3=󰝚 :*.mpega=󰝚 :*.mpga=󰝚 :*.mscx=󰝚 :*.mscz=󰝚 :*.multitrack=󰝚 :*.mus=󰝚 :*.musd=󰝚 :*.musicxml=󰝚 :*.mxl=󰝚 :*.mxmf=󰝚 :*.oga=󰝚 :*.ogg=󰝚 :*.omg=󰝚 :*.opus=󰝚 :*.orc=󰝚 :*.osf=󰝚 :*.plj=󰝚 :*.pls=󰝚 :*.psid=󰝚 :*.pya=󰝚 :*.qcp=󰝚 :*.ra=󰝚 :*.ram=󰝚 :*.rip=󰝚 :*.rm=󰝚 :*.s1m=󰝚 :*.sco=󰝚 :*.sd2=󰝚 :*.sid=󰝚 :*.sly=󰝚 :*.smp=󰝚 :*.smp3=󰝚 :*.smv=󰝚 :*.snd=󰝚 :*.sofa=󰝚 :*.spx=󰝚 :*.uva=󰝚 :*.uvva=󰝚 :*.vbk=󰝚 :*.vpm=󰝚 :*.wav=󰝚 :*.wax=󰝚 :*.wma=󰝚 :*.xhe=󰝚 :*.xspf=󰝚 :*.alc= :*.asn= :*.asn= :*.aso= :*.b= :*.bsd= :*.c3d= :*.cac= :*.cache= :*.cascii= :*.cbin= :*.cdx= :*.cef= :*.chm= :*.cif= :*.cmdf= :*.cml= :*.cpa= :*.csf= :*.csm= :*.csml= :*.ctab= :*.ctx= :*.cub= :*.cxf= :*.dx= :*.emb= :*.embl= :*.fch= :*.fchk= :*.gal= :*.gau= :*.gcg= :*.gen= :*.gjc= :*.gjf= :*.gpt= :*.hin= :*.ist= :*.istr= :*.jdx= :*.kin= :*.mcif= :*.mcm= :*.mif= :*.mmod= :*.mol= :*.moo= :*.mop= :*.mopcrt= :*.mpc= :*.mvb= :*.pdb= :*.prt= :*.rd= :*.ros= :*.rxn= :*.sd= :*.sdf= :*.smi= :*.spc= :*.sw= :*.tgf= :*.val= :*.vmd= :*.vms= :*.xtel= :*.xyz= :*.zmt= :*.conf= :*.ini= :*.ppd= :*.toml= :*.yaml= :*.yml= :*config= :*.bdb= :*.csv= :*.csvs= :*.db= :*.geojson= :*.json= :*.json?patch= :*.jsonld= :*.jsontd= :*.jsontm= :*.mdb= :*.qgs= :*.rdf= :*.rdf?crypt= :*.rss= :*.shp= :*.shx= :*.sql= :*.sqlite= :*.sqlite3= :*.xml= :*.abw=󰉺 :*.ai=󰉺 :*.apkg=󰉺 :*.book=󰉺 :*.cbr=󰉺 :*.cbz=󰉺 :*.chrt=󰉺 :*.doc=󰉺 :*.docx=󰉺 :*.dotx=󰉺 :*.dvi=󰉺 :*.eps=󰉺 :*.eps2=󰉺 :*.eps3=󰉺 :*.epsf=󰉺 :*.epsi=󰉺 :*.epub=󰉺 :*.fb=󰉺 :*.fbdoc=󰉺 :*.flw=󰉺 :*.gan=󰉺 :*.ggb=󰉺 :*.ggs=󰉺 :*.ggt=󰉺 :*.gnumeric=󰉺 :*.karbon=󰉺 :*.kfo=󰉺 :*.kon=󰉺 :*.kpr=󰉺 :*.kpt=󰉺 :*.mm=󰉺 :*.odb=󰉺 :*.odc=󰉺 :*.odf=󰉺 :*.odg=󰉺 :*.odi=󰉺 :*.odm=󰉺 :*.odp=󰉺 :*.ods=󰉺 :*.odt=󰉺 :*.osm=󰉺 :*.otc=󰉺 :*.otg=󰉺 :*.oth=󰉺 :*.oti=󰉺 :*.otm=󰉺 :*.otp=󰉺 :*.ots=󰉺 :*.ott=󰉺 :*.oxt=󰉺 :*.pdf=󰉺 :*.potm=󰉺 :*.potx=󰉺 :*.ppam=󰉺 :*.pps=󰉺 :*.ppsm=󰉺 :*.ppsx=󰉺 :*.ppt=󰉺 :*.pptm=󰉺 :*.pptx=󰉺 :*.ps=󰉺 :*.rtf=󰉺 :*.sda=󰉺 :*.sdc=󰉺 :*.sdd=󰉺 :*.sdp=󰉺 :*.sds=󰉺 :*.sdw=󰉺 :*.sgl=󰉺 :*.sldx=󰉺 :*.sm=󰉺 :*.smf=󰉺 :*.smzip=󰉺 :*.stc=󰉺 :*.std=󰉺 :*.sti=󰉺 :*.stw=󰉺 :*.sxc=󰉺 :*.sxd=󰉺 :*.sxg=󰉺 :*.sxi=󰉺 :*.sxm=󰉺 :*.sxw=󰉺 :*.vsd=󰉺 :*.vsf=󰉺 :*.vss=󰉺 :*.vst=󰉺 :*.vsw=󰉺 :*.wpd=󰉺 :*.xhtm=󰉺 :*.xhtml=󰉺 :*.xla=󰉺 :*.xlam=󰉺 :*.xlc=󰉺 :*.xlm=󰉺 :*.xls=󰉺 :*.xlsb=󰉺 :*.xlsm=󰉺 :*.xlsx=󰉺 :*.xlt=󰉺 :*.xltm=󰉺 :*.xltx=󰉺 :*.xlw=󰉺 :*.xodp=󰉺 :*.xods=󰉺 :*.xodt=󰉺 :*.xotp=󰉺 :*.xots=󰉺 :*.xott=󰉺 :*.xsl=󰉺 :*.xslt=󰉺 :*.brd= :*.cpa= :*.csa= :*.dwm= :*.kicad_pro= :*.pro= :*.sch= :*.ac= :*.cer= :*.crl= :*.crt= :*.gpg= :*.kbx= :*.kdbx= :*.key= :*.p10= :*.p12= :*.p21= :*.p7c= :*.p7m= :*.p7r= :*.p7s= :*.p7z= :*.p8= :*.p8e= :*.pem= :*.pgp= :*.pki= :*.pkipath= :*.bash=󱓞 :*.bat=󱓞 :*.bin=󱓞 :*.com=󱓞 :*.csh=󱓞 :*.dll=󱓞 :*.exe=󱓞 :*.fish=󱓞 :*.jnlp=󱓞 :*.o=󱓞 :*.pyc=󱓞 :*.pyo=󱓞 :*.sh=󱓞 :*.so=󱓞 :*.zsh=󱓞 :*.gsf= :*.otf= :*.pfa= :*.pfb= :*.ttc= :*.ttf= :*.woff= :*.woff2= :*.32x= :*.3ds= :*.3dz= :*.Z1= :*.Z2= :*.Z3= :*.Z4= :*.Z5= :*.Z6= :*.Z7= :*.Z8= :*.a26= :*.a52= :*.a78= :*.amgp= :*.atr= :*.atx= :*.bas= :*.cas= :*.ccd= :*.cdi= :*.chd= :*.cso= :*.cso= :*.cue= :*.esc= :*.fam= :*.fds= :*.gam= :*.gamin= :*.gb= :*.gba= :*.gbc= :*.gd= :*.gdi= :*.gdnlib= :*.gdns= :*.gdscript= :*.gen= :*.gg= :*.godot= :*.inp= :*.jcd= :*.lnx= :*.mdf= :*.mds= :*.n64= :*.ndd= :*.nds= :*.nds= :*.nes= :*.nez= :*.nrg= :*.obg= :*.obgx= :*.pdn= :*.pgn= :*.pgn= :*.ptrom= :*.rom= :*.sbi= :*.sc= :*.sf7= :*.sfc= :*.sg= :*.sgf= :*.smc= :*.smd= :*.smk= :*.sms= :*.srm= :*.sub= :*.swc= :*.tres= :*.tscn= :*.v64= :*.vpk= :*.wad= :*.wbfs= :*.z1= :*.z2= :*.z3= :*.z4= :*.z5= :*.z6= :*.z7= :*.z8= :*.J2C= :*.J2K= :*.PGB= :*.apng= :*.art= :*.avci= :*.avcs= :*.avif= :*.azv= :*.b16= :*.bmp= :*.btf= :*.btif= :*.cdr= :*.cdt= :*.cgm= :*.cpt= :*.cr2= :*.crw= :*.djv= :*.djvu= :*.dpx= :*.drle= :*.dwg= :*.dxf= :*.emf= :*.erf= :*.exr= :*.fbs= :*.fig= :*.fit= :*.fits= :*.fpx= :*.fst= :*.fts= :*.gif= :*.hdr= :*.heic= :*.heics= :*.heif= :*.heifs= :*.hej2= :*.hif= :*.hsj2= :*.ico= :*.ief= :*.j2c= :*.j2k= :*.jfif= :*.jhc= :*.jls= :*.jng= :*.jp2= :*.jpe= :*.jpeg= :*.jpf= :*.jpg= :*.jpg2= :*.jpgm= :*.jph= :*.jphc= :*.jpm= :*.jpx= :*.jxl= :*.jxr= :*.jxra= :*.jxrs= :*.jxs= :*.jxsc= :*.jxsi= :*.jxss= :*.kra= :*.ktx= :*.ktx2= :*.mdi= :*.mmr= :*.nef= :*.ora= :*.orf= :*.pat= :*.pbm= :*.pcx= :*.pgb= :*.pgm= :*.png= :*.pnm= :*.ppm= :*.psd= :*.pti= :*.ras= :*.rgb= :*.rgbe= :*.rlc= :*.s1g= :*.s1j= :*.s1n= :*.sgi= :*.sgif= :*.sjp= :*.sjpg= :*.smil= :*.sml= :*.spn= :*.spng= :*.svg= :*.svgz= :*.tap= :*.tfx= :*.tif= :*.tiff= :*.uvg= :*.uvi= :*.uvvg= :*.uvvi= :*.vtf= :*.wbmp= :*.webp= :*.wmf= :*.xbm= :*.xcf= :*.xif= :*.xpm= :*.xwd= :*.xyze= :*.art= :*.eml= :*.mail= :*.mbox= :*.oeb= :*.sieve= :*.u8dsn= :*.u8hdr= :*.u8mdn= :*.u8msg= :*.3ds=󰹜 :*.3mf=󰹜 :*.FCMacro=󰹜 :*.FCMat=󰹜 :*.FCParam=󰹜 :*.FCScript=󰹜 :*.FCStd=󰹜 :*.amf=󰹜 :*.bary=󰹜 :*.blend=󰹜 :*.brep=󰹜 :*.brp=󰹜 :*.bsp=󰹜 :*.cam=󰹜 :*.cld=󰹜 :*.cnc=󰹜 :*.csg=󰹜 :*.dae=󰹜 :*.dib=󰹜 :*.dor=󰹜 :*.dwf=󰹜 :*.gcode=󰹜 :*.gdl=󰹜 :*.glb=󰹜 :*.gltf=󰹜 :*.gsm=󰹜 :*.gtw=󰹜 :*.ifc=󰹜 :*.ifcJSON=󰹜 :*.iges=󰹜 :*.igs=󰹜 :*.ism=󰹜 :*.jt=󰹜 :*.lmp=󰹜 :*.mesh=󰹜 :*.moml=󰹜 :*.msh=󰹜 :*.msm=󰹜 :*.mtl=󰹜 :*.mts=󰹜 :*.nc=󰹜 :*.ncc=󰹜 :*.ngc=󰹜 :*.obj=󰹜 :*.ogex=󰹜 :*.poly=󰹜 :*.pov=󰹜 :*.prc=󰹜 :*.pyox=󰹜 :*.rsm=󰹜 :*.scad=󰹜 :*.silo=󰹜 :*.step=󰹜 :*.stl=󰹜 :*.stp=󰹜 :*.stpx=󰹜 :*.stpxz=󰹜 :*.stpz=󰹜 :*.tooltable=󰹜 :*.u3d=󰹜 :*.usda=󰹜 :*.usdz=󰹜 :*.vds=󰹜 :*.vrm=󰹜 :*.vrml=󰹜 :*.vtu=󰹜 :*.win=󰹜 :*.wrl=󰹜 :*.x3d=󰹜 :*.x3db=󰹜 :*.x3dv=󰹜 :*.x3dvz=󰹜 :*.x3dz=󰹜 :*.x_b=󰹜 :*.x_t=󰹜 :*.xmt_bin=󰹜 :*.xmt_txt=󰹜 :*.apk=󰏖 :*.cpkg=󰏖 :*.ddeb=󰏖 :*.deb=󰏖 :*.dpkg=󰏖 :*.ebuild=󰏖 :*.eclass=󰏖 :*.gpkg=󰏖 :*.mpkg=󰏖 :*.onepkg=󰏖 :*.pkg=󰏖 :*.portpkg=󰏖 :*.ppkg=󰏖 :*.rpm=󰏖 :*.xpak=󰏖 :*.2bit= :*.dna= :*.fa= :*.mseq= :*.sce= :*.scf= :*.sci= :*#=󰃢 :*.%=󰃢 :*.bak=󰃢 :*.bk=󰃢 :*.dl=󰃢 :*.dpkg-dist=󰃢 :*.dpkg-old=󰃢 :*.old=󰃢 :*.orig=󰃢 :*.part=󰃢 :*.rej=󰃢 :*.rpmnew=󰃢 :*.rpmorig=󰃢 :*.rpmsave=󰃢 :*.swp=󰃢 :*.tmp=󰃢 :*tmp=󰃢 :*~=󰃢 :*.3dm= :*.3dml= :*.CQL= :*.VFK= :*.a= :*.abc= :*.appcache= :*.ascii= :*.bib= :*.boo= :*.brf= :*.brl= :*.c= :*.c++= :*.cc= :*.ccc= :*.cls= :*.cnd= :*.coffee= :*.copyright= :*.cpp= :*.css= :*.curl= :*.cxx= :*.d= :*.dart= :*.diff= :*.dms= :*.dot= :*.dsc= :*.dxg= :*.es= :*.etx= :*.flt= :*.flx= :*.fly= :*.gcd= :*.ged= :*.gff3= :*.gv= :*.h= :*.h++= :*.hans= :*.hgl= :*.hh= :*.hpp= :*.hs= :*.htc= :*.htm= :*.html= :*.hxx= :*.ics= :*.ifb= :*.jad= :*.java= :*.js= :*.jtd= :*.latex= :*.lhs= :*.ltx= :*.ly= :*.lyx= :*.manifest= :*.markdown= :*.mc2= :*.md= :*.miz= :*.mjs= :*.moc= :*.mpf= :*.n3= :*.p= :*.pas= :*.patch= :*.php= :*.pl= :*.pm= :*.pot= :*.provn= :*.py= :*.rb= :*.roff= :*.rs= :*.rst= :*.scala= :*.sfv= :*.sgm= :*.sgml= :*.shaclc= :*.shc= :*.shex= :*.shtml= :*.si= :*.sl= :*.soa= :*.sos= :*.spdx= :*.spo= :*.spot= :*.srt= :*.sty= :*.t= :*.tag= :*.tcl= :*.tex= :*.text= :*.tk= :*.tm= :*.tr= :*.ts= :*.tsv= :*.ttl= :*.txt= :*.uri= :*.uris= :*.vcard= :*.vcf= :*.vcs= :*.vtt= :*.wgsl= :*.wml= :*.wmls= :*.zone= :*README= :*.asf= :*.avi= :*.axv= :*.dif= :*.dv= :*.dvb= :*.flc= :*.fli= :*.flv= :*.fvt= :*.gl= :*.lsf= :*.lsx= :*.m1v= :*.m2v= :*.m4s= :*.m4u= :*.m4v= :*.mj2= :*.mjp2= :*.mjpeg= :*.mjpg= :*.mkv= :*.mng= :*.mov= :*.movie= :*.mp4= :*.mp4v= :*.mpe= :*.mpeg= :*.mpg= :*.mpg4= :*.mpv= :*.mxu= :*.nim= :*.nuv= :*.ogm= :*.ogv= :*.ogx= :*.pyv= :*.qt= :*.rmvb= :*.s11= :*.s14= :*.s1q= :*.scs= :*.smo= :*.smov= :*.smpg= :*.ssw= :*.sswf= :*.ucf= :*.ucf-dist= :*.ucf-new= :*.ucf-old= :*.uvh= :*.uvm= :*.uvp= :*.uvs= :*.uvu= :*.uvv= :*.uvvh= :*.uvvm= :*.uvvp= :*.uvvs= :*.uvvu= :*.uvvv= :*.viv= :*.vob= :*.webm= :*.wm= :*.wmv= :*.wmx= :*.wvx= :*.yt= :*.yuv= "
alias diff = "colordiff"
alias gitci = "git commit -S"
alias gitcia = "git commit -Sa"
alias gitco = "git checkout"
alias gitdiff = "git diff"
alias gitgrep = "git grep"
alias gitlog = "git log --name-status"
alias gitlstags = "git describe --tags"
alias gittag = "git tag -a"
alias gittree = "git log --graph"
alias gitw = "git instaweb --httpd=webrick"
alias l = "ls --color -pa"
alias less = "nvimpager"
alias lg = "lazygit"
alias ll = "ls --color -pla"
alias ls = "ls --color -p"
alias lzd = "lazydocker"
alias make = "colormake"
alias mbsync = "mbsync -c ~/.config/mbsync/mbsyncrc"
alias more = "nvimpager"
alias tig = "TERM=tmux-256color tig"
alias txor = "tmuxinator"
alias vim = "lvim -p"
alias vimdiff = "lvim -d -o"
alias gitst="git status | more"
alias gitci="git commit -S"
alias gitcia='git commit -Sa'
alias gitco="git checkout"
alias gitdiff='git diff'
alias gitgrep='git grep'
alias gitlog='git log --name-status'
alias gittree='git log --graph'
alias gitlstags='git describe --tags'
alias gittag='git tag -a'
alias gitw='git instaweb --httpd=webrick'
alias gitpull='git pull --stat --progress && git submodule update'
alias gitpr='git pull --stat --progress --rebase && git submodule update'
alias gitprst='git stash && git pull --stat --progress --rebase && git submodule update && git stash apply'
alias gitprp='git pull --stat --progress --rebase && git submodule update && git push'
alias gitprst='git stash && git pull --stat --progress --rebase && git submodule update && git stash apply && git push'
alias pip_upgrade = "pip freeze --user | cut -d'=' -f1 | xargs -n1 pip install -U --user"
alias pip_upgrade_venv = "pip freeze | cut -d'=' -f1 | xargs -n1 pip install -U"
if exists -f ~/.config/ion/init-desktop
source ~/.config/ion/init-desktop
end
if exists -f ~/.config/ion/init-private
source ~/.config/ion/init-private
end
if exists -f ~/.config/ion/init-root
source ~/.config/ion/init-root
end
export VI_NORMAL = "N"
export VI_INSERT = "I"
keybindings vi
eval $(starship init ion)
json-fortune