Wordpress CLI: Unterschied zwischen den Versionen
Erscheinungsbild
Die Seite wurde neu angelegt: „== Installieren von wp-cli == === Profile einrichten Online === <syntaxhighlight line='line' lang="bash"> # enable color support of ls and also add handy ali…“ |
|||
| Zeile 2: | Zeile 2: | ||
=== Profile einrichten Online === | === Profile einrichten Online === | ||
<code>nano ~/.profile</code> | |||
<syntaxhighlight line='line' lang="bash"> | <syntaxhighlight line='line' lang="bash"> | ||
# enable color support of ls and also add handy aliases | # enable color support of ls and also add handy aliases | ||
Version vom 31. Januar 2022, 10:14 Uhr
Installieren von wp-cli
Profile einrichten Online
nano ~/.profile
# enable color support of ls and also add handy aliases
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(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'
fi
# some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
alias wp='php wp.phar'
#PS1='\[\e[0;32m\]\u\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;32m\]\$\[\e[m\] \[\e[1;37m\]' #color fuer die shell
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '