configs  Check-in [bab44182da]

Overview
Comment:fish: Alias gpg to gpg2
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: bab44182da2de4dcf25b9242a1d73598a11f963bc81bc99dc70f8bfc4d514b46
User & Date: js on 2022-11-27 14:58:42
Other Links: manifest | tags
Context
2022-11-27
15:02
fish: Only use color ls if available check-in: 831ff3f6e3 user: js tags: trunk
14:58
fish: Alias gpg to gpg2 check-in: bab44182da user: js tags: trunk
14:34
fish/functions/pws.fish: Fix typo check-in: 5ce6a066ea user: js tags: trunk
Changes

Modified fish/config.fish from [e77c769667] to [7a88376e57].

35
36
37
38
39
40
41



42
43
44
45
46
47
48
set -x EDITOR vim
set -x VIMINIT "source $XDG_CONFIG_HOME/vim/vimrc"
set -x LS_COLORS 'di=34:ow=44;37:tw=44;37:st=44;37:ex=31:su=7;31:sg=7;31:ln=33:or=7;33:pi=32:do=32:bd=35:cd=35:so=32:*.bz2=36:*.dmg=36:*.gz=36:*.gpg=36:*.rar=36:*.tar=36:*.tbz2=36:*.tgz=36:*.xz=36:*.zip=36:*.orig=90:*~=90'
set -x SUDO_PROMPT (printf "\033[0;31m[\033[1;31msudo -> %%U\033[0;31m]\033[0m Password for \033[1m%%p@%%H\033[0m: ")
set -x GNUPGHOME "$XDG_DATA_HOME/gnupg"
set -x CVS_RSH ssh




if type -q gpg
    # Make sure the GPG agent is running
    gpg --card-status &>/dev/null

    set -l sock
    if test -d "$XDG_RUNTIME_DIR/gnupg"
        set sock (find $XDG_RUNTIME_DIR/gnupg -name S.gpg-agent.ssh | head -1)







>
>
>







35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
set -x EDITOR vim
set -x VIMINIT "source $XDG_CONFIG_HOME/vim/vimrc"
set -x LS_COLORS 'di=34:ow=44;37:tw=44;37:st=44;37:ex=31:su=7;31:sg=7;31:ln=33:or=7;33:pi=32:do=32:bd=35:cd=35:so=32:*.bz2=36:*.dmg=36:*.gz=36:*.gpg=36:*.rar=36:*.tar=36:*.tbz2=36:*.tgz=36:*.xz=36:*.zip=36:*.orig=90:*~=90'
set -x SUDO_PROMPT (printf "\033[0;31m[\033[1;31msudo -> %%U\033[0;31m]\033[0m Password for \033[1m%%p@%%H\033[0m: ")
set -x GNUPGHOME "$XDG_DATA_HOME/gnupg"
set -x CVS_RSH ssh

if type -q gpg2
    alias gpg=gpg2
end
if type -q gpg
    # Make sure the GPG agent is running
    gpg --card-status &>/dev/null

    set -l sock
    if test -d "$XDG_RUNTIME_DIR/gnupg"
        set sock (find $XDG_RUNTIME_DIR/gnupg -name S.gpg-agent.ssh | head -1)

Deleted fish/functions/gpg.fish version [b4ab9be1b1].

1
2
3
function gpg --wraps=gpg2
    command gpg2 $argv
end
<
<
<