/dports/lang/librep/librep_0.92.7/lisp/rep/io/file-handlers/ |
H A D | tilde.jl | 1 #| tilde.jl -- File handler for tilde expansion 33 (defun tilde-expand (file-name) 49 ((eq op 'expand-file-name) 51 ;; expand-file-name, then reapply the tilde. This is to ensure 75 (apply (symbol-value op) (tilde-expand (car args)) (cdr args))) 77 (apply copy-file (tilde-expand (car args)) (cdr args))) 79 ;; file to expand is second argument 80 (copy-file (car args) (tilde-expand (cadr args)))) 83 (copy-file (tilde-expand (car args)) (tilde-expand (cadr args)))) 86 (error "Can't expand ~ in %s" (cons op args))))) [all …]
|
/dports/textproc/write-good/.npm/_cacache/index-v5/d5/33/ |
H A D | e5090ea3f7622a748d13cfbc6ae0e3a99bdafbb001cd36b56323b519cf46 | 2 …expand-tilde/-/expand-tilde-2.0.2.tgz","integrity":"sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=","time":1637…
|
/dports/textproc/write-good/write-good-1.0.8/node_modules/expand-tilde/ |
H A D | README.md | 1 …expand-tilde [![NPM version](https://img.shields.io/npm/v/expand-tilde.svg?style=flat)](https://ww… 3 > Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home di… 10 $ npm install --save expand-tilde 18 var expandTilde = require('expand-tilde'); 40 …expand-brackets](https://www.npmjs.com/package/expand-brackets): Expand POSIX bracket expressions …
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/tera-1.12.0/docs/node_modules/expand-tilde/ |
H A D | README.md | 1 …expand-tilde [![NPM version](https://img.shields.io/npm/v/expand-tilde.svg?style=flat)](https://ww… 3 > Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home di… 10 $ npm install --save expand-tilde 18 var expandTilde = require('expand-tilde'); 40 …expand-brackets](https://www.npmjs.com/package/expand-brackets): Expand POSIX bracket expressions …
|
/dports/lang/rust/rustc-1.58.1-src/vendor/tera/docs/node_modules/expand-tilde/ |
H A D | README.md | 1 …expand-tilde [![NPM version](https://img.shields.io/npm/v/expand-tilde.svg?style=flat)](https://ww… 3 > Bash-like tilde expansion for node.js. Expands a leading tilde in a file path to the user home di… 10 $ npm install --save expand-tilde 18 var expandTilde = require('expand-tilde'); 40 …expand-brackets](https://www.npmjs.com/package/expand-brackets): Expand POSIX bracket expressions …
|
/dports/shells/ohmyzsh/ohmyzsh-6babcbd8841335a3c25ec960ff57ab9a139c9073/plugins/shrink-path/ |
H A D | shrink-path.plugin.zsh | 43 typeset -i tilde=0 48 typeset -i expand=0 53 tilde=1 56 tilde=1 61 zstyle -t ':prompt:shrink_path' tilde && tilde=1 64 zstyle -t ':prompt:shrink_path' expand && expand=1 75 tilde=1 98 -t|--tilde) tilde=1 ;; 116 -x|--expand) 117 expand=1 [all …]
|
H A D | README.md | 30 -t|--tilde ~/f o/ba/q 58 -t, --tilde Substitute ~ for the home directory. 64 -x, --expand Print the full path. This takes precedence over the other options 78 You can use the `expand` option to disable the path shrinking. You can combine that 83 zstyle ':prompt:shrink_path' expand true 85 zstyle -d ':prompt:shrink_path' expand 93 zstyle -t ':prompt:shrink_path' expand \ 94 && zstyle -d ':prompt:shrink_path' expand \ 95 || zstyle ':prompt:shrink_path' expand true
|
/dports/deskutils/taskd/taskd-1.1.0/src/ |
H A D | Path.cpp | 75 _data = expand (in); in Path() 211 std::string expanded = expand (new_name); in rename() 230 std::string Path::expand (const std::string& in) in expand() function in Path 234 std::string::size_type tilde = copy.find ("~"); in expand() local 237 if (tilde != std::string::npos) in expand() 251 else if (copy.length () > tilde + 1 && in expand() 252 copy[tilde + 1] == '/') in expand() 254 copy.replace (tilde, 1, home); in expand() 258 else if ((slash = copy.find ("/", tilde)) != std::string::npos) in expand() 260 std::string name = copy.substr (tilde + 1, slash - tilde - 1); in expand() [all …]
|
/dports/textproc/write-good/write-good-1.0.8/node_modules/resolve-dir/ |
H A D | README.md | 48 …expand-tilde](https://www.npmjs.com/package/expand-tilde): Bash-like tilde expansion for node.js. …
|
/dports/sysutils/onefetch/onefetch-2.10.2/cargo-crates/tera-1.12.0/docs/node_modules/resolve-dir/ |
H A D | README.md | 48 …expand-tilde](https://www.npmjs.com/package/expand-tilde): Bash-like tilde expansion for node.js. …
|
/dports/lang/rust/rustc-1.58.1-src/vendor/tera/docs/node_modules/resolve-dir/ |
H A D | README.md | 48 …expand-tilde](https://www.npmjs.com/package/expand-tilde): Bash-like tilde expansion for node.js. …
|
/dports/x11-wm/icewm/icewm-2.9.4/src/ |
H A D | strtest.cc | 545 char* tilde = tilde_expansion("~/"); in test_expand() local 546 assert("~/", tilde != nullptr); in test_expand() 547 if (tilde) { in test_expand() 550 delete[] tilde; in test_expand() 571 assert("~root/", tilde != nullptr); in test_expand() 572 if (tilde) { in test_expand() 574 delete[] tilde; in test_expand() 596 if (expand) { in test_expand() 598 delete[] expand; in test_expand() 609 if (expand) { in test_expand() [all …]
|
/dports/deskutils/tasksh/tasksh-1.2.0/src/libshared/src/ |
H A D | FS.cpp | 80 _data = expand (in); in Path() 232 auto expanded = expand (new_name); in rename() 255 auto tilde = copy.find ('~'); in expand() local 258 if (tilde != std::string::npos) in expand() 273 copy[tilde + 1] == '/') in expand() 281 std::string name = copy.substr (tilde + 1, slash - tilde - 1); in expand() 284 copy.replace (tilde, slash - tilde, pw->pw_dir); in expand() 681 std::string full_name = expand (name); in create() 758 std::ofstream out (expand (name).c_str (), in write() 776 std::ofstream out (expand (name).c_str (), in write() [all …]
|
/dports/math/R/R-4.1.2/src/library/base/man/ |
H A D | path.expand.Rd | 1 % File src/library/base/man/path.expand.Rd 6 \name{path.expand} 7 \alias{path.expand} 8 \alias{tilde expansion} 11 Expand a path name, for example by replacing a leading tilde by the 15 path.expand(path) 23 On most builds of \R a leading \code{~user} will expand to the home 36 \code{path.expand} is first called in a session. 50 path.expand("~/foo")
|
/dports/math/libRmath/R-4.1.1/src/library/base/man/ |
H A D | path.expand.Rd | 1 % File src/library/base/man/path.expand.Rd 6 \name{path.expand} 7 \alias{path.expand} 8 \alias{tilde expansion} 11 Expand a path name, for example by replacing a leading tilde by the 15 path.expand(path) 23 On most builds of \R a leading \code{~user} will expand to the home 36 \code{path.expand} is first called in a session. 50 path.expand("~/foo")
|
/dports/science/lammps/lammps-stable_29Sep2021/tools/lammps-shell/ |
H A D | README | 34 is context aware and will expand any first word only to commands 37 - For style commands it will expand to available styles of the 40 - For "compute", "fix", or "dump" it will also expand only to already 44 it will expand to known compute/fix/dump IDs only. 146 Enable tilde expansion 149 Adding "set expand-tilde on" to "${HOME}/.inputrc" is recommended as 154 will expand to "~/compile/lammps/"), it will not replace the tilde by 155 default. But since LAMMPS does not do tilde expansion itself (unlike a 156 shell), this will result in errors. Instead the tilde-expression should
|
/dports/shells/yash/yash-2.51/ |
H A D | expand.c | 59 tildetype_T tilde, quoting_T quoting, charcategory_T defaultcc) 207 expand_brace_each(expand.valuelist.contents, expand.cclist.contents, in expand_multiple() 220 &expand.valuelist, &expand.cclist); in expand_multiple() 221 assert(expand.valuelist.length == expand.cclist.length); in expand_multiple() 245 const wordunit_T *w, tildetype_T tilde, quoting_T quoting) in expand_single_cc() argument 312 tildetype_T tilde, quoting_T quoting, escaping_T escaping) in expand_single() argument 314 cc_word_T e = expand_single_cc(w, tilde, quoting); in expand_single() 438 if (first && tilde != TT_NONE) { in expand_four() 439 s = expand_tilde(&ss, w->next, tilde); in expand_four() 513 if (indq || tilde != TT_MULTI) in expand_four() [all …]
|
/dports/editors/neovim/neovim-0.6.1/runtime/syntax/ |
H A D | readline.vim | 134 \ expand-tilde 283 \ tilde-expand 300 \ vi-tilde-expand 348 \ shell-expand-line 349 \ history-expand-line 351 \ alias-expand-line 352 \ history-and-alias-expand-line 370 \ dabbrev-expand 372 \ glob-expand-word
|
/dports/editors/vim/vim-8.2.3745/runtime/syntax/ |
H A D | readline.vim | 134 \ expand-tilde 283 \ tilde-expand 300 \ vi-tilde-expand 348 \ shell-expand-line 349 \ history-expand-line 351 \ alias-expand-line 352 \ history-and-alias-expand-line 370 \ dabbrev-expand 372 \ glob-expand-word
|
/dports/math/reduce/Reduce-svn5758-src/psl/dist/kernel/macg5/ |
H A D | unix-io.c.old | 31 % Added expand_file_name (called from unixopen) to expand shell variable 127 /* The function expand_file_name is used to expand shell variable references 154 register int tilde; 163 if ((tilde = (*s == '~')) || (*s == '$')) 170 if (tilde) { t = ((getpwuid(getuid())) -> pw_dir); 177 if (tilde)
|
H A D | unix-io.c.new | 31 % Added expand_file_name (called from unixopen) to expand shell variable 133 /* The function expand_file_name is used to expand shell variable references 160 register int tilde; 169 if ((tilde = (*s == '~')) || (*s == '$')) 176 if (tilde) { t = ((getpwuid(getuid())) -> pw_dir); 183 if (tilde)
|
/dports/shells/ion/ion-a8872014dbce730ccd00aaa722397dc394a52bf4/src/lib/expansion/ |
H A D | mod.rs | 124 fn tilde(&self, _input: &str) -> Result<types::Str, Self::Error>; in tilde() method 430 WordToken::Normal(ref text, do_glob, tilde) => { in expand_single_string_token() 431 self.expand(&mut output, &mut expanded_words, text.as_ref(), do_glob, tilde)? in expand_single_string_token() 450 fn expand( in expand() method 456 tilde: bool, in expand() 482 let expanded: types::Str = if tilde { self.tilde(&concat)? } else { concat }; in expand() 565 WordToken::Normal(ref text, do_glob, tilde) => { in expand_tokens() 566 self.expand( in expand_tokens() 571 *tilde, in expand_tokens() 596 expanded_words.extend(braces::expand(tokens, &vector_of_arrays)); in expand_tokens() [all …]
|
/dports/misc/gwhich/which-2.21/ |
H A D | EXAMPLES | 18 --skip-tilde Skip directories in PATH that start with a tilde. 19 --show-dot Don't expand a dot to current directory in output. 20 --show-tilde Output a tilde for HOME directory for non-root. 50 >which --show-tilde cat 56 >which --show-tilde --show-dot cat 171 >alias which='alias | which --tty-only --read-alias --show-tilde --show-dot' 178 alias which='alias | which --tty-only --read-alias --show-tilde --show-dot'
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtk/library/ |
H A D | xmfbox.tcl | 171 pack $w.top -side top -expand yes -fill both 179 pack $f2 -expand yes -fill both 222 pack $bot.ok $bot.filter $bot.cancel -padx 10 -pady 10 -expand yes \ 404 set tilde [lindex $list 0] 406 set tilde [glob $tilde] 408 set text [eval file join [concat $tilde [lrange $list 1 end]]]
|
/dports/shells/ksh93/ast-93u/src/lib/libtk/library/ |
H A D | xmfbox.tcl | 171 pack $w.top -side top -expand yes -fill both 179 pack $f2 -expand yes -fill both 222 pack $bot.ok $bot.filter $bot.cancel -padx 10 -pady 10 -expand yes \ 404 set tilde [lindex $list 0] 406 set tilde [glob $tilde] 408 set text [eval file join [concat $tilde [lrange $list 1 end]]]
|