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