41 for files with setuid bit set sg 30;43 for files with setgid bit set tw 30;42 for world writable directories with sticky bit set ow 34;43 for world writable directories without sticky bit set sa none for files with an associated suffix alias; this is only tested after specific ...
# In zsh <= 5.2, aliases that begin with a plus sign ('alias -- +foo=42') # are emitted by `alias -L` without a '--' guard, so they don't round trip.# # Hence, we exclude them from unaliasing: builtin unalias -m '[^+]*' # Set $0 to the expected value, regardle...
Permanent: another option is using the solution in (2) but making it stick withan aliasso that you don't need to do this every time you run that particular command. This is much more fine-grained than (3) because you can still use wildcards in other commands. ...
so if you have a function and a command with the same name, the function will be used. The "function" reserved word, used to define functions, gained a new -T option. That affects syntaxes such as: 1. "function -T { ... }". It used to define a function named "-T". It now...
# In zsh <= 5.2, aliases that begin with a plus sign ('alias -- +foo=42') # are emitted by `alias -L` without a '--' guard, so they don't round trip.# # Hence, we exclude them from unaliasing: builtin unalias -m '[^+]*' # Set $0 to the expected value, regardle...
tcp_on_alias alias fd When an alias is defined, this function will be called with two arguments: the name of the alias, and the file descriptor of the corresponding session. tcp_on_awol sess fd If the function tcp_fd_handler is handling input from the line editor and detects that the ...
When you or your team work on various npm or yarn projects it gets hard to remember which one is which. This lesson shows you how to create a customnpmzsh function alias to remind yourself to use yarn commands when there is ayarn.lockfile in the directory. ...
# First of all, ensure predictable parsing.typeset zsh_highlight__aliases="$(builtin alias -Lm '[^+]*')" # In zsh <= 5.2, aliases that begin with a plus sign ('alias -- +foo=42') # are emitted by `alias -L` without a '--' guard, so they don't round trip....
(dircolors -b)" alias ls='ls --color=auto' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' alias diff='diff --color=auto' alias ip='ip --color=auto' export ...
(dircolors -b)" alias ls='ls --color=auto' #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' alias grep='grep --color=auto' alias fgrep='fgrep --color=auto' alias egrep='egrep --color=auto' alias diff='diff --color=auto' alias ip='ip --color=auto' export ...