blob: 99edaa19b925228d64bcb15ba024401e0d59aef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
$NetBSD: patch-aa,v 1.1.1.1 2005/12/05 15:34:59 taca Exp $
--- dot.bashrc.example.orig 2001-12-05 13:14:02.000000000 +0900
+++ dot.bashrc.example
@@ -1,4 +1,4 @@
-# this is .bashrc example to use capecho and hexecho command
+# this is shell funciton examples to use capecho and hexecho command
#
# hcd is a replace of the "cd" to using on coding system = HEX
# ccd is also another replace of "cd" to using on coding system = CAP
@@ -7,17 +7,17 @@
# cd, mkdir, rmdir, pushd, rm, ln
# replacement.
-function hcd() { cd $(hexecho "$@"); }
-function hmkdir() { mkdir $(hexecho "$@"); }
-function hrmdir() { rmdir $(hexecho "$@"); }
-function hpushd() { pushd $(hexecho "$@"); }
-function hrm() { rm $(hexecho "$@"); }
-function hln() { ln $(hexecho "$@"); }
+hcd() { cd $(hexecho "$@"); }
+hmkdir() { mkdir $(hexecho "$@"); }
+hrmdir() { rmdir $(hexecho "$@"); }
+hpushd() { pushd $(hexecho "$@"); }
+hrm() { rm $(hexecho "$@"); }
+hln() { ln $(hexecho "$@"); }
-function ccd() { cd $(capecho "$@"); }
-function cmkdir() { mkdir $(capecho "$@"); }
-function crmdir() { rmdir $(capecho "$@"); }
-function cpushd() { pushd $(capecho "$@"); }
-function crm() { rm $(capecho "$@"); }
-function cln() { ln $(capecho "$@"); }
+ccd() { cd $(capecho "$@"); }
+cmkdir() { mkdir $(capecho "$@"); }
+crmdir() { rmdir $(capecho "$@"); }
+cpushd() { pushd $(capecho "$@"); }
+crm() { rm $(capecho "$@"); }
+cln() { ln $(capecho "$@"); }
|