Compare commits
3 commits
d9c4e91e77
...
649a11f68d
Author | SHA1 | Date | |
---|---|---|---|
649a11f68d | |||
3fe88f4632 | |||
b19e02bc6c |
4 changed files with 10 additions and 4 deletions
|
@ -46,3 +46,6 @@ alias micromamba-fhs="nix-shell -E 'with import <nixpkgs> {}; (pkgs.buildFHSUser
|
||||||
alias fhs="nix-shell -E 'with import <nixpkgs> {}; (pkgs.buildFHSUserEnv {name = \"micromamba-fhs\"; runScript=\"zsh\";}).env'"
|
alias fhs="nix-shell -E 'with import <nixpkgs> {}; (pkgs.buildFHSUserEnv {name = \"micromamba-fhs\"; runScript=\"zsh\";}).env'"
|
||||||
# https://discourse.nixos.org/t/why-is-it-so-hard-to-use-a-python-package/19200/20
|
# https://discourse.nixos.org/t/why-is-it-so-hard-to-use-a-python-package/19200/20
|
||||||
# alias fhs="nix shell --impure --expr '((builtins.getFlake \"nixpkgs\").legacyPackages.\${builtins.currentSystem}.buildFHSUserEnv { name = \"fhs\"; runScript=\"zsh\"; }).env'"
|
# alias fhs="nix shell --impure --expr '((builtins.getFlake \"nixpkgs\").legacyPackages.\${builtins.currentSystem}.buildFHSUserEnv { name = \"fhs\"; runScript=\"zsh\"; }).env'"
|
||||||
|
|
||||||
|
|
||||||
|
alias utvpn-tmux="tmux new-session -d -s vpn 'utvpn' && tmux attach -t vpn"
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
alias lt="tree -L 3"
|
|
|
@ -2,3 +2,10 @@
|
||||||
|
|
||||||
export GPG_TTY="$TTY"
|
export GPG_TTY="$TTY"
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
|
|
||||||
|
# have gpg-agent be the ssh-agent
|
||||||
|
# idea taken from https://wiki.archlinux.org/title/GnuPG#SSH_agent
|
||||||
|
if [[ -z "${SSH_CONNECTION}" ]]; then
|
||||||
|
export SSH_AGENT_PID=""
|
||||||
|
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh"
|
||||||
|
fi
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
is-tty && alias lsd="lsd --icon never"
|
|
||||||
alias ls="lsd --group-directories-first --color=auto -g"
|
|
||||||
alias lt='lsd --tree --depth=3'
|
|
Loading…
Reference in a new issue