Commit Graph

58 Commits

Author SHA1 Message Date
leo
34d05a85e5
zshrc: add hostname checks 2023-07-01 23:56:45 +02:00
leo
beeff9db75
homeage: add secrets
* infra backend
* infra vars
* general envs

this way, secrets are only ever stored on the system (including the nix
store) in an encrypted form in ${XDG_RUNTIME_DIR}.
2023-06-27 22:29:00 +02:00
leo
a70339c2dd
sway(env),zsh: make the $kee var $HOST-dependent
* have a fallback in ZSH in case it's not run with sway (in which case
  it could be empty)
2023-06-06 16:07:15 +02:00
leo
0f6ddbdf43
zshrc: more useful history opts 2023-04-19 22:59:17 +02:00
leo
47830cff8d
zshrc: allow history to grow large 2023-04-19 22:56:28 +02:00
leo
bc7c268c16
zshrc: fool-proof fzf bindings loading 2023-02-21 19:53:31 +01:00
leo
f95e448736
zshrc(FZF_*OPTS): preview using exa;bat optionally 2023-02-21 15:25:08 +01:00
7824939591
zshrc: FZF_CTRL_T_COMMAND += --hidden 2022-10-17 21:03:41 +02:00
6b098deee9
zshrc: set TERM=xterm-kitty for dircolors 2022-10-17 21:01:45 +02:00
9fb9328311
zshrc: export the surtur 2022-10-17 21:01:17 +02:00
0a57ad43bc
zshrc: add set *IM_MODULE=ibus 2022-10-17 21:00:57 +02:00
94f389b0fc
zshrc: add VISUAL,SYSTEMD_EDITOR 2022-10-17 21:00:17 +02:00
2e25b8c052
zshrc: make sure to export EDITOR,TERM 2022-10-17 20:58:25 +02:00
33282bf536
zshrc: solve ssh-agent shenenigans 2022-10-17 20:56:53 +02:00
b35be86999
zsh: reiterate the wish of completion caching 2022-08-31 14:47:17 +02:00
335cc4cb73
zsh: make sure to eval direnv hook 2022-08-31 14:31:18 +02:00
a907d42366
nix: set up home-manager 2022-08-29 00:30:29 +02:00
366535955f
zshrc(fzf): unexclude .git folders 2022-07-03 12:13:23 +02:00
a96f4d335c
zshrc(plugins): split the array to multiple lines 2022-07-03 12:11:00 +02:00
085ae5852e
zshrc: bind '^O' to a custom 'fzf-open' zle widget 2022-07-03 12:04:48 +02:00
af6266010c
zshrc: add folders with completions 2022-07-03 12:00:42 +02:00
e7cd64615e
zshrc: conditionally load asdf.sh 2022-07-03 11:58:53 +02:00
861157d033
zshrc: only source aliases.zsh once 2022-04-03 22:49:24 +02:00
102475c777
zshrc: actually source .zsh/aliases.zsh 2022-04-03 22:34:17 +02:00
bf51cf8f8b
zshrc: move functions to .zsh/functions.zsh 2022-04-03 22:31:19 +02:00
3ccdbab746
zshrc: setopts++ 2022-03-26 02:14:00 +01:00
0d70260836
zsh: move aliases to .zsh/aliases.zsh 2022-03-26 01:51:57 +01:00
04a94c4705
zsh,nix: source nix.sh from user's nix-profile
add 'chisui/zsh-nix-shell' and 'spwhitt/nix-zsh-completions' plugins
with sheldon
2022-03-26 01:41:15 +01:00
e4a745d5fb
zsh: add jeffreytse/zsh-vi-mode to be -- NORMAL --
add jeffreytse/zsh-vi-mode with sheldon.

history substring search bindings are remapped to work with 'viins' and
'vicmd' (NORMAL) modes of the vi prompt, and J and K mappings in 'vicmd'
mode are added.

fzf loading also had to be reworked using system installation fzf
completions are used. bindings for fzf are broken if loaded
conventionally, therefore a helper function is offered by zsh-vi-mode to
source anything after vi mode is initialized and it is used to source
said completions.

at this occasion FZF_COMPLETION_OPTS et al. have also been reworked a
little to use dracula colorscheme, fd-find instead of find and bat to
auto-colour files.
2022-03-26 01:20:55 +01:00
f14878faab
zshrc: add timesh() function 2022-03-26 00:37:47 +01:00
486fee013f
zshrc: add alias subvols (for btrfs) 2022-03-26 00:36:37 +01:00
2763d0f256
zshrc: make ssh-agent smarter 2022-03-26 00:35:47 +01:00
57bb1e4504
zshrc: rm alias v colliding with vlang's 'v' 2022-03-26 00:33:14 +01:00
63604f24e6
zshrc: update alias vimrc 2022-03-26 00:31:46 +01:00
ded0d7bee8
zshrc: source bemenu-dracula from .zprofile 2022-03-26 00:29:02 +01:00
aac58fc62a
zshrc: rm unused plugins 2022-03-26 00:20:42 +01:00
31478dfdb6
migrate from zplug to sheldon...
...(https://sheldon.cli.rs/): Fast, configurable, shell plugin manager

and as a consequence of a recent(-ish) update of zsh on fedora 35
(zsh.x86_64 5.8.1-1.fc35 @updates), fpath also has to be set manually.
2022-03-25 23:57:54 +01:00
dbcd280593
zshrc: add nmcli alias 2021-12-07 02:29:31 +01:00
f5ebb5ef4e
zshrc: enable inc_append and extended history opts 2021-12-07 02:26:39 +01:00
fd293d5641
zsh: spaceship-prompt -> starship for zsh 2021-12-07 02:23:47 +01:00
bc8b89dd80
zshrc: fast-syntax-highlighting namespace change 2021-12-07 02:11:22 +01:00
cd9b7a3e5b
zshrc: disable compfix 2021-11-10 03:20:27 +01:00
4f7061d448
zshrc(alias): colour the ip command 2021-11-10 03:19:06 +01:00
abf44abd4f
zshrc: unset GIT_{BRANCH,STATUS}_COLOR
let it be whatever it wants to be (the default)
2021-11-10 03:17:21 +01:00
700d4c59dc
zsh: accomodate rootless podman in DOCKER_HOST
* necessary for the seamless use of rootless podman/podman-docker
  (compat) convenience, since the "docker socket" -> podman.sock -> now
  resides inside user's run directory

* follow-up of d03d466672
2021-11-10 03:09:16 +01:00
0fce075701
zshrc: do not export variables 2021-09-01 20:51:14 +02:00
90777182c6
zshrc: swith fzf to dracula theme; rm env var
* set fzf colors to match the dracula theme
* stop setting '~~' as FZF_COMPLETION_TRIGGER
2021-09-01 20:46:04 +02:00
145c9e5c15
zshrc: update plugins array 2021-09-01 17:05:34 +02:00
3cc11d7ac3
zsh: add bemenu-dracula submodule 2021-09-01 15:40:40 +02:00
4d22b4c163
zshrc: add diff alias 2021-09-01 15:24:14 +02:00