]> git.pld-linux.org Git - packages/pinfo.git/commitdiff
- add info and man aliases if possible
authorTomek Orzechowski <orzech@pld-linux.org>
Tue, 12 Mar 2002 13:04:29 +0000 (13:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pinfo.csh -> 1.1
    pinfo.sh -> 1.1

pinfo.csh [new file with mode: 0644]
pinfo.sh [new file with mode: 0644]

diff --git a/pinfo.csh b/pinfo.csh
new file mode 100644 (file)
index 0000000..ab4b4b0
--- /dev/null
+++ b/pinfo.csh
@@ -0,0 +1,7 @@
+if ( ! -x /usr/bin/info ); then
+       alias info "pinfo"
+endif
+
+if ( ! -x /usr/bin/man ); then
+       alias man "pinfo -m"
+endif
diff --git a/pinfo.sh b/pinfo.sh
new file mode 100644 (file)
index 0000000..8c01b3d
--- /dev/null
+++ b/pinfo.sh
@@ -0,0 +1,7 @@
+if [ ! -x /usr/bin/info ]; then
+       alias info="pinfo"
+fi
+
+if [ ! -x /usr/bin/man ]; then
+       alias man="pinfo -m"
+fi
This page took 0.034569 seconds and 4 git commands to generate.