From b7999c7b90e986307ceb5d57a91c3e492561dd11 Mon Sep 17 00:00:00 2001 From: dakkar Date: Mon, 29 Jun 2015 15:12:37 +0100 Subject: better default ssh keys --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index c3d4e4a..3ba80ce 100644 --- a/.bash_profile +++ b/.bash_profile @@ -11,7 +11,7 @@ source ~/perl5/perlbrew/etc/bashrc export PATH="${HOME}/bin:${PATH}" export GPG_TTY="$(tty)" -eval "$(keychain --eval --noask --inherit any-once id_rsa id_nap_rsa 75193F88 D7A5DBBE)" +eval "$(keychain --eval --noask --inherit any-once id_rsa id_ed25519 75193F88 D7A5DBBE)" function e() { emacsclient "$@" -- cgit v1.2.3 From b1800ca7d42bab16c6afbbbc43b2f1b86fe1275e Mon Sep 17 00:00:00 2001 From: dakkar Date: Thu, 23 Jul 2015 11:26:07 +0100 Subject: prepare for keychain 2.8 --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 3ba80ce..8cad899 100644 --- a/.bash_profile +++ b/.bash_profile @@ -11,7 +11,7 @@ source ~/perl5/perlbrew/etc/bashrc export PATH="${HOME}/bin:${PATH}" export GPG_TTY="$(tty)" -eval "$(keychain --eval --noask --inherit any-once id_rsa id_ed25519 75193F88 D7A5DBBE)" +eval "$(keychain --eval --noask --inherit any-once --agents gpg,ssh id_rsa id_ed25519 75193F88 D7A5DBBE)" function e() { emacsclient "$@" -- cgit v1.2.3 From 5b1df99651e9d39198d736da451ab711f8ef65c9 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 17 May 2016 17:13:55 +0100 Subject: nicer perldoc --- .bash_profile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 8cad899..eb0bd75 100644 --- a/.bash_profile +++ b/.bash_profile @@ -21,10 +21,14 @@ function se() { emacsclient "${@/#//sudo::}" } +function perldoc() { + cpandoc "$@" +} + function pm() { local fn local ex - fn="$(perldoc -l "$1")" + fn="$(perldoc -lm "$1")" ex=$? if [[ $ex != 0 ]]; then return $ex @@ -32,5 +36,7 @@ function pm() { emacsclient -c -n "$fn" } +export PERLDOC='-MPod::Text::Color::Delight' + fortune -- cgit v1.2.3 From 1b7ffd6c12c04da1b65f1f8a18d85addbcb6b279 Mon Sep 17 00:00:00 2001 From: dakkar Date: Wed, 18 May 2016 10:44:11 +0100 Subject: short alias for perldoc --- .bash_profile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index eb0bd75..493421b 100644 --- a/.bash_profile +++ b/.bash_profile @@ -21,14 +21,14 @@ function se() { emacsclient "${@/#//sudo::}" } -function perldoc() { +function pd() { cpandoc "$@" } function pm() { local fn local ex - fn="$(perldoc -lm "$1")" + fn="$(pd -lm "$1")" ex=$? if [[ $ex != 0 ]]; then return $ex -- cgit v1.2.3 From 17f4b98c3a959cd33c5a3c6b7242c61b9129ac03 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Thu, 16 Mar 2017 10:12:38 +0000 Subject: perldoc on browser --- .bash_profile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 493421b..923f310 100644 --- a/.bash_profile +++ b/.bash_profile @@ -22,7 +22,11 @@ function se() { } function pd() { - cpandoc "$@" + if [[ $1 == -b ]]; then + firefox "https://metacpan.org/pod/$2" + else + cpandoc "$@" + fi } function pm() { -- cgit v1.2.3 From 3bcdfc4099c712c04dd7ddb8151c31433cab2c09 Mon Sep 17 00:00:00 2001 From: Gianni Ceccarelli Date: Tue, 3 Jul 2018 10:03:17 +0100 Subject: fix keychain usage turns out, --noask means "don't add keys", not "only add keys that don't need a passphrase" --- .bash_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.bash_profile') diff --git a/.bash_profile b/.bash_profile index 923f310..f2d8ae7 100644 --- a/.bash_profile +++ b/.bash_profile @@ -11,7 +11,7 @@ source ~/perl5/perlbrew/etc/bashrc export PATH="${HOME}/bin:${PATH}" export GPG_TTY="$(tty)" -eval "$(keychain --eval --noask --inherit any-once --agents gpg,ssh id_rsa id_ed25519 75193F88 D7A5DBBE)" +eval "$(keychain --eval --inherit any-once --agents ssh id_rsa id_ed25519)" function e() { emacsclient "$@" -- cgit v1.2.3