Update .config/fish/conf.d/30-man.fish
Update .config/fish/functions/cpkey.fish Update .config/packages/archgirlie
This commit is contained in:
parent
a95909a424
commit
ce2a9538e8
3 changed files with 14 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
if command -v nvim &>/dev/null
|
||||
set -gx MANPAGER "nvim +Man!"
|
||||
if command -v most &>/dev/null
|
||||
set -gx MANPAGER most
|
||||
end
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
#!/usr/bin/env fish
|
||||
|
||||
function cpkey -d "Copy the id_ed25519 public key to clipboard, generating the keypair if needed"
|
||||
if ! [ -O "~/.ssh/id_ed25519.pub" ]
|
||||
if ! [ -O "$HOME/.ssh/id_ed25519.pub" ]
|
||||
echo "=> Generating id_ed25519 keypair..."
|
||||
ssh-keygen -f "~/.ssh/id_ed25519"
|
||||
ssh-keygen -f "$HOME/.ssh/id_ed25519"
|
||||
end
|
||||
|
||||
more "~/.ssh/id_ed25519.pub" | copyq copy -
|
||||
if command -v copyq &>/dev/null
|
||||
more "$HOME/.ssh/id_ed25519.pub" | copyq copy -
|
||||
else if command -v pbcopy &>/dev/null
|
||||
more "$HOME/.ssh/id_ed25519.pub" | pbcopy
|
||||
else
|
||||
echo "=> Unsupported OS - please add your copy command to this script :)"
|
||||
return 1
|
||||
end
|
||||
echo "=> Public key copied to clipbard"
|
||||
end
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
[1m[33m -> [0m[0mAvoid running yay as root/sudo.
|
||||
aic94xx-firmware
|
||||
alsa-utils
|
||||
amfora
|
||||
|
@ -115,6 +116,7 @@ meilisearch
|
|||
mesa
|
||||
mods
|
||||
morgen-bin
|
||||
most
|
||||
mpc
|
||||
mpd
|
||||
mythes-en
|
||||
|
|
Loading…
Reference in a new issue