Blog: 2024-01-17

From razwiki
Jump to navigation Jump to search

Had an idea of how to handle creating abbrs seamlessly: add the new abbr with "abbr -a $argv" then dump `abbr` to abbrs file.

But on my ubuntu computer, I have many UVAR implemented abbrs, and have to clear them first. Here they are:

SETUVAR _fish_abbr__2D_:cd\x20\x2d
SETUVAR _fish_abbr__2E_c:\x2e/configure
SETUVAR _fish_abbr__2E_v:\x7e/\x2evim
SETUVAR _fish_abbr__2F_:search
SETUVAR _fish_abbr_a:rg
SETUVAR _fish_abbr_a_2F_:sudo\x20apt\x20search
SETUVAR _fish_abbr_ab:abbr\x2dadd
SETUVAR _fish_abbr_acs:apt\x2dcache\x20search\x20\x2d\x2dnames\x2donly
SETUVAR _fish_abbr_ae:abbr\x20\x2de
SETUVAR _fish_abbr_af:apt\x2dfile\x20show
SETUVAR _fish_abbr_ai:sudo\x20apt\x20install\x20\x2dy
SETUVAR _fish_abbr_al:apt\x20list
SETUVAR _fish_abbr_alb:album
SETUVAR _fish_abbr_ali:apt\x20list\x20\x2d\x2dinstalled
SETUVAR _fish_abbr_alu:apt\x20list\x20\x2d\x2dupgradable
SETUVAR _fish_abbr_ash:apt\x20show
SETUVAR _fish_abbr_bi:bundle\x20install
SETUVAR _fish_abbr_bk:backup
SETUVAR _fish_abbr_bl:black
SETUVAR _fish_abbr_br:bat\x20README\x2emd
SETUVAR _fish_abbr_c:cd
SETUVAR _fish_abbr_c_2D_:chmod\x20\x2dx
SETUVAR _fish_abbr_c_2D_x:chmod\x20\x2dx
SETUVAR _fish_abbr_ca:cat
SETUVAR _fish_abbr_cc:clone\x2dcd
SETUVAR _fish_abbr_cd_2D_:cd\x20\x2d
SETUVAR _fish_abbr_cdv:\x7e/\x2evim
SETUVAR _fish_abbr_cf:\x7e/\x2econfig/fish/
SETUVAR _fish_abbr_chownme:sudo\x20chown\x20\x28whoami\x29
SETUVAR _fish_abbr_clj:clojure
SETUVAR _fish_abbr_cmd:command
SETUVAR _fish_abbr_cp:copy
SETUVAR _fish_abbr_cr:cargo\x20run
SETUVAR _fish_abbr_cv:cvlc
SETUVAR _fish_abbr_cx:chmod\x20\x2bx
SETUVAR _fish_abbr_cz:clean\x2dunzip
SETUVAR _fish_abbr_d:podman
SETUVAR _fish_abbr_d_2E_:podman\x20build\x20\x2e
SETUVAR _fish_abbr_des:describe
SETUVAR _fish_abbr_dev:git\x20switch\x20develop
SETUVAR _fish_abbr_digs:dig\x20\x2bshort
SETUVAR _fish_abbr_dl:podman\x20run\x20\x2dit\x20\x28last\x2dimage\x2dbuilt\x29
SETUVAR _fish_abbr_dots:\x7e/\x2edotfiles
SETUVAR _fish_abbr_dow:\x7e/Downloads
SETUVAR _fish_abbr_dps:docker\x20ps
SETUVAR _fish_abbr_dr:podman\x20run\x20\x2dit
SETUVAR _fish_abbr_dsp:docker\x20system\x20prune
SETUVAR _fish_abbr_e:edit
SETUVAR _fish_abbr_eab:vim\x20\x7e/\x2econfig/fish/conf\x2ed/abbrs\x2efish\x20
SETUVAR _fish_abbr_ech:echo
SETUVAR _fish_abbr_ef:exec\x20fish
SETUVAR _fish_abbr_eg:edit\x2dgit
SETUVAR _fish_abbr_ehco:echo
SETUVAR _fish_abbr_eo:echo
SETUVAR _fish_abbr_ep:vim\x20\x7e/\x2eprofile
SETUVAR _fish_abbr_er:edit\x2dreadme
SETUVAR _fish_abbr_ev:echo\x2dvariable
SETUVAR _fish_abbr_exp:expect
SETUVAR _fish_abbr_f:\x7e/forks
SETUVAR _fish_abbr_fcc:fish_clipboard_copy
SETUVAR _fish_abbr_fcp:fish_clipboard_paste
SETUVAR _fish_abbr_fe:funced\x20\x2ds
SETUVAR _fish_abbr_ff:\x7e/\x2econfig/fish
SETUVAR _fish_abbr_ffns:\x7e/\x2econfig/fish/functions
SETUVAR _fish_abbr_fj:\x7e/forks/fjord
SETUVAR _fish_abbr_fl:funced\x2dlast
SETUVAR _fish_abbr_fn:function
SETUVAR _fish_abbr_fns:functions
SETUVAR _fish_abbr_fp:fish_clipboard_paste
SETUVAR _fish_abbr_fr:flask\x20run
SETUVAR _fish_abbr_fs:funcsave\x2dlast
SETUVAR _fish_abbr_g:git
SETUVAR _fish_abbr_g2:goto\x2ddefinition
SETUVAR _fish_abbr_g_2D_:git\x20switch\x20\x2d
SETUVAR _fish_abbr_ga:git\x2dadd
SETUVAR _fish_abbr_ga_2E_2E_:git\x2dadd\x20\x2e\x2e
SETUVAR _fish_abbr_gap:git\x20add\x20\x2dp
SETUVAR _fish_abbr_gau:git\x20add\x20\x2du
SETUVAR _fish_abbr_gb:git\x20branch
SETUVAR _fish_abbr_gbm:git\x20branch\x20\x2dm
SETUVAR _fish_abbr_gc:git\x2dcommit
SETUVAR _fish_abbr_gca:git\x20commit\x20\x2d\x2damend
SETUVAR _fish_abbr_gcae:git\x20commit\x20\x2d\x2damend\x20\x2d\x2dno\x2dedit
SETUVAR _fish_abbr_gcan:git\x20commit\x20\x2d\x2damend\x20\x2d\x2dno\x2dedit
SETUVAR _fish_abbr_gcl:git\x20clone
SETUVAR _fish_abbr_gclean:git\x20clean\x20\x2dfxd
SETUVAR _fish_abbr_gcp:git\x20cherry\x2dpick
SETUVAR _fish_abbr_gd:git\x20diff
SETUVAR _fish_abbr_gf:git\x20fetch
SETUVAR _fish_abbr_gfu:git\x20fetch\x20\x2d\x2dunshallow
SETUVAR _fish_abbr_gg:git\x20grep
SETUVAR _fish_abbr_gi:gem\x20install
SETUVAR _fish_abbr_giti:gitignore
SETUVAR _fish_abbr_gl:git\x20pull
SETUVAR _fish_abbr_glg:git\x20log
SETUVAR _fish_abbr_gm:git\x20switch\x20main
SETUVAR _fish_abbr_gn:git\x20new
SETUVAR _fish_abbr_gp:git\x20push
SETUVAR _fish_abbr_gpf:git\x20push\x20\x2d\x2dforce\x2dwith\x2dlease
SETUVAR _fish_abbr_gpro:git\x2dprotocol\x2dhttps\x2dto\x2dgit
SETUVAR _fish_abbr_gq:git\x20restore\x20\x2e
SETUVAR _fish_abbr_gr:git\x20reset
SETUVAR _fish_abbr_gra:git\x20remote\x20add
SETUVAR _fish_abbr_grc:git\x20rebase\x20\x2d\x2dcontinue
SETUVAR _fish_abbr_gres:git\x2drestage
SETUVAR _fish_abbr_grh:git\x20reset\x20\x2d\x2dhard
SETUVAR _fish_abbr_grho:git\x20reset\x20\x2d\x2dhard\x20origin
SETUVAR _fish_abbr_grhu:git\x20reset\x20\x2d\x2dhard\x20upstream
SETUVAR _fish_abbr_grim:git\x20rebase\x20\x2di\x20main
SETUVAR _fish_abbr_grm:git\x20rebase\x20main
SETUVAR _fish_abbr_grom:git\x20rebase\x20origin\x20main
SETUVAR _fish_abbr_grr:git\x20remote\x20rename
SETUVAR _fish_abbr_grv:git\x20remote\x20\x2dv
SETUVAR _fish_abbr_gs:git\x20status
SETUVAR _fish_abbr_gsd:git\x20stash\x20drop
SETUVAR _fish_abbr_gst:git\x20stash
SETUVAR _fish_abbr_gsui:git\x20submodule\x20update\x20\x2d\x2dinit\x20\x2d\x2drecursive
SETUVAR _fish_abbr_gu:gunicorn
SETUVAR _fish_abbr_gw:git\x20show
SETUVAR _fish_abbr_h:\x7e/hack
SETUVAR _fish_abbr_hg:hugo
SETUVAR _fish_abbr_hibernate:systemctl\x20hibernate
SETUVAR _fish_abbr_hu:hugo
SETUVAR _fish_abbr_i:ipython
SETUVAR _fish_abbr_j:sudo\x20journalctl
SETUVAR _fish_abbr_jks:jekyll\x20serve
SETUVAR _fish_abbr_k:make
SETUVAR _fish_abbr_k1:kill\x20\x251
SETUVAR _fish_abbr_kc:make\x20clean
SETUVAR _fish_abbr_ki:make\x20install
SETUVAR _fish_abbr_kk:make\x20clean\x20\x26\x26\x20make
SETUVAR _fish_abbr_kl:make\x20lint
SETUVAR _fish_abbr_kt:make\x20test
SETUVAR _fish_abbr_l:ls
SETUVAR _fish_abbr_lf:systemctl\x20list\x2dunits\x20\x2d\x2dfailed
SETUVAR _fish_abbr_lh:ls\x20\x2dlahtr
SETUVAR _fish_abbr_logout:gnome\x2dsession\x2dquit\x20\x2d\x2dno\x2dprompt
SETUVAR _fish_abbr_lrc:link\x2drc
SETUVAR _fish_abbr_lsb:lsblk
SETUVAR _fish_abbr_lt:lein\x20test
SETUVAR _fish_abbr_m:git\x20switch\x20main
SETUVAR _fish_abbr_main:git\x20switch\x20main
SETUVAR _fish_abbr_mc:mkdir\x2dcd
SETUVAR _fish_abbr_mdkir:mkdir
SETUVAR _fish_abbr_mkd:mkdir
SETUVAR _fish_abbr_mkdirp:mkdir\x20\x2dp
SETUVAR _fish_abbr_ml:move\x2dlast\x2ddownload
SETUVAR _fish_abbr_mr:make\x20run
SETUVAR _fish_abbr_ms:make\x20setup
SETUVAR _fish_abbr_msb:meson\x20setup\x20build
SETUVAR _fish_abbr_mu:\x7e/Music
SETUVAR _fish_abbr_mvl:move\x2dlast\x2ddownload
SETUVAR _fish_abbr_nb:newsboat
SETUVAR _fish_abbr_nd:nextd
SETUVAR _fish_abbr_news:newsboat
SETUVAR _fish_abbr_nf:netlify
SETUVAR _fish_abbr_ng:npm\x20install\x20\x2dg
SETUVAR _fish_abbr_ni:npm\x20install
SETUVAR _fish_abbr_niy:npm\x20init\x20\x2dy
SETUVAR _fish_abbr_nn:nvim\x20\x7e/\x2econfig/nvim/init\x2elua
SETUVAR _fish_abbr_nrb:npm\x20run\x20build
SETUVAR _fish_abbr_nrd:npm\x20run\x20dev
SETUVAR _fish_abbr_nrl:npm\x20run\x20lint
SETUVAR _fish_abbr_ns:npm\x20start
SETUVAR _fish_abbr_nv:nvim
SETUVAR _fish_abbr_nx:npx
SETUVAR _fish_abbr_o:open
SETUVAR _fish_abbr_o_2E_:open\x20\x2e
SETUVAR _fish_abbr_of:onefetch
SETUVAR _fish_abbr_p:python
SETUVAR _fish_abbr_p3:python3
SETUVAR _fish_abbr_pa:poetry\x20add
SETUVAR _fish_abbr_pad:poetry\x20add\x20\x2d\x2dgroup\x20dev
SETUVAR _fish_abbr_pb:fish_clipboard_paste
SETUVAR _fish_abbr_pc:wl\x2dcopy
SETUVAR _fish_abbr_pd:prevd
SETUVAR _fish_abbr_pei:pipenv\x20install
SETUVAR _fish_abbr_perm:pipenv\x20\x2d\x2drm
SETUVAR _fish_abbr_pes:pipenv\x20shell
SETUVAR _fish_abbr_pi:pip\x20install
SETUVAR _fish_abbr_pin:poetry\x20init\x20\x2dq
SETUVAR _fish_abbr_pio:parcel\x20index\x2ehtml\x20\x2d\x2dopen
SETUVAR _fish_abbr_pir:pip\x20install\x20\x2dr\x20requirements\x2etxt
SETUVAR _fish_abbr_pk:pkill\x20\x2di
SETUVAR _fish_abbr_pl:play
SETUVAR _fish_abbr_pm:python\x20\x2dm
SETUVAR _fish_abbr_po:parcel\x20index\x2ehtml\x20\x2d\x2dopen
SETUVAR _fish_abbr_poi:poetry\x20install
SETUVAR _fish_abbr_pos:poetry\x20shell
SETUVAR _fish_abbr_prm:poetry\x20remove
SETUVAR _fish_abbr_pt:pytest
SETUVAR _fish_abbr_ptx:pytest\x20\x2dx
SETUVAR _fish_abbr_pu:pip\x20uninstall\x20\x2dy
SETUVAR _fish_abbr_pvv:python\x20\x2dm\x20venv\x20venv
SETUVAR _fish_abbr_pws:\x7e/\x2epassword\x2dstore/
SETUVAR _fish_abbr_pxi:pipx\x20install
SETUVAR _fish_abbr_q:query
SETUVAR _fish_abbr_re:git\x20restore
SETUVAR _fish_abbr_rl:rlwrap
SETUVAR _fish_abbr_rlx:rlwrap\x20expect
SETUVAR _fish_abbr_rm:remove
SETUVAR _fish_abbr_rmd:rmdir
SETUVAR _fish_abbr_rmr:remove\x20\x2dr
SETUVAR _fish_abbr_rmrf:remove\x20\x2drf
SETUVAR _fish_abbr_rn:ronin
SETUVAR _fish_abbr_ro:cd\x20\x28git\x20root\x29
SETUVAR _fish_abbr_s:ssh
SETUVAR _fish_abbr_sc:git\x20switch\x20\x2dc
SETUVAR _fish_abbr_se:apt\x20search
SETUVAR _fish_abbr_sk:shellcheck
SETUVAR _fish_abbr_sl:ls
SETUVAR _fish_abbr_sm:git\x20switch\x20main
SETUVAR _fish_abbr_smi:sudo\x20make\x20install
SETUVAR _fish_abbr_so:source
SETUVAR _fish_abbr_sov:source\x20venv/bin/activate\x2efish
SETUVAR _fish_abbr_sp:source\x20\x7e/\x2eprofile
SETUVAR _fish_abbr_sr:string\x20replace
SETUVAR _fish_abbr_sv:source\x20venv/bin/activate\x2efish
SETUVAR _fish_abbr_sw:git\x20switch
SETUVAR _fish_abbr_sy:symlink
SETUVAR _fish_abbr_sym:symlink
SETUVAR _fish_abbr_syn:sync\x2drepos
SETUVAR _fish_abbr_syr:sudo\x20systemctl\x20restart
SETUVAR _fish_abbr_sys:sudo\x20systemctl
SETUVAR _fish_abbr_tm:tmux
SETUVAR _fish_abbr_tz:tgz
SETUVAR _fish_abbr_u:sudo\x20apt\x20update
SETUVAR _fish_abbr_ug:sudo\x20apt\x20upgrade\x20\x2dy
SETUVAR _fish_abbr_uns:unsymlink
SETUVAR _fish_abbr_up:sudo\x20apt\x20update
SETUVAR _fish_abbr_us:unsymlink
SETUVAR _fish_abbr_v:vim
SETUVAR _fish_abbr_vbu:vagrant\x20box\x20update
SETUVAR _fish_abbr_vc:vim\x20\x7e/\x2econfig/fish/config\x2efish
SETUVAR _fish_abbr_vcf:vi\x20\x7e/\x2econfig/fish/config\x2efish
SETUVAR _fish_abbr_vd:vagrant\x20destroy
SETUVAR _fish_abbr_vdf:vagrant\x20destroy\x20\x2d\x2dforce
SETUVAR _fish_abbr_vg:vagrant
SETUVAR _fish_abbr_vh:vagrant\x20halt
SETUVAR _fish_abbr_vi:vim
SETUVAR _fish_abbr_vip:vim\x2dplugin
SETUVAR _fish_abbr_vmux:vim\x20\x27\x2bterm\x20\x2b\x2bcurwin\x27\x20\x2bterm
SETUVAR _fish_abbr_vp:vagrant\x20provision
SETUVAR _fish_abbr_vr:vim\x20README\x2emd
SETUVAR _fish_abbr_vs:vagrant\x20ssh
SETUVAR _fish_abbr_vst:vagrant\x20status
SETUVAR _fish_abbr_vterm:vim\x20\x2bterm\x20\x2b\x2bcurwin
SETUVAR _fish_abbr_vu:vagrant\x20up
SETUVAR _fish_abbr_vv:vim\x20\x7e/\x2evim/vimrc
SETUVAR _fish_abbr_w:weechat
SETUVAR _fish_abbr_wg:wget
SETUVAR _fish_abbr_wgm:wget\x20\x2d\x2dmirror
SETUVAR _fish_abbr_wl:weechat\x2dlogin
SETUVAR _fish_abbr_wn:wikinews
SETUVAR _fish_abbr_x:exit
SETUVAR _fish_abbr_xb:xbindkeys
SETUVAR _fish_abbr_y:yarn
SETUVAR _fish_abbr_ya:yarn\x20add
SETUVAR _fish_abbr_yb:yarn\x20build
SETUVAR _fish_abbr_ys:yarn\x20start
SETUVAR _fish_abbr_zz:\x7e/forks/razzi\x2eabuissa\x2enet