Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
jbo75 schrieb:Die ~/.bash_profile wurde korrekt erstellt und es klappt auch, jedoch wieder nur temporär. sobald ich eine neue console öffne ist alles wieder beim alten. Oder muss ich z.B aterm immer mit aterm -e . ~/.bash_profile starten?
edit:
also das aterm -e . ~/.bash_profile hab ich probiert und es klappt nicht.
aber mit der .bashrc klappt es genau so wie ich es will.
Danke
ksh(1) hat auch Completion kleiner ist kleiner und effizienter als bash(1).jbo75 schrieb:Bash habe ich eigentlich nur wegen dem autocomplete mit Tab genommen, das war unter sh immer ein Krampf :
da kann ich nur http://www.michael-prokop.at/computer/tools_zsh_liebhaber.html empfehlen; mag zwar etwas subjektiv sein, aber was solls ;-)jbo75 schrieb:Was hat denn Zsh für Vorteile?
#################
# .zshrc danlei #
#################
cdpath=(. .. ~ ~/src ~/zsh)
# Use hard limits, except for a smaller stack and no core dumps
unlimit
limit stack 8192
limit core 0
limit -s
umask 022
# Set up aliases
alias mv='nocorrect mv' # no spelling correction on mv
alias cp='nocorrect cp' # no spelling correction on cp
alias mkdir='nocorrect mkdir' # no spelling correction on mkdir
alias md='nocorrect mkdir'
alias locate='nocorrect locate'
alias emacs='emacs -nw'
alias ls='ls -G'
alias l='ls'
alias rd='rmdir'
alias ll='ls -lh'
alias la='ls -alh'
alias ld='ls -dh'
# List only directories and symbolic
# links that point to directories
alias lsd='ls -ld *(-/DN)'
# List only file beginning with "."
alias l.='ls -ldh .*'
alias dirs='dirs -v'
alias df='df -h'
alias du='du -h'
alias c='clear'
# cd by .. or ... or mv file ..../.
alias -g ...='../..'
alias -g ....='../../..'
alias -g .....='../../../..'
# allow + and - for switching between dirs
alias -- +='pushd +0'
alias -- -='pushd -1'
alias -- ++='pushd +1'
alias -- --='pushd -2'
alias -- +++='pushd +2'
alias -- ---='pushd -3'
# set up run-help
#unalias run-help
#autoload run-help
# Shell functions
setenv() { typeset -x "${1}${1:+=}${(@)argv[2,$#]}" } # csh compatibility
freload() { while (( $# )); do; unfunction $1; autoload -U $1; shift; done }
# Where to look for autoloaded function definitions
fpath=($fpath ~/.zfunc)
# Autoload all shell functions from all directories in $fpath (following
# symlinks) that have the executable bit on (the executable bit is not
# necessary, but gives you an easy way to stop the autoloading of a
# particular shell function). $fpath should not be empty for this to work.
for func in $^fpath/*(N-.x:t); autoload $func
# automatically remove duplicates from these arrays
typeset -U path cdpath fpath manpath
# Hosts to use for completion (see later zstyle)
hosts=(`hostname` ftp.math.gatech.edu prep.ai.mit.edu \
wuarchive.wustl.edu www.bsdforen.de www.google.de)
# Set prompts
autoload colors
colors
# Nice colored prompt, which displays red exid code, if not 0
PROMPT="%{${fg[red]}%}%(?..(%?%))%{${fg[cyan]}%}[%n@%m %~]%# %{${fg[white]}%}"
# Some environment variables
export MAIL=/var/spool/mail/$USERNAME
#export HELPDIR=/usr/lib/zsh/help # directory for run-help function to find docs
MAILCHECK=300
HISTSIZE=1000
DIRSTACKSIZE=35
SAVEHIST=1000
HISTFILE="$HOME/.zhistory"
# Watch for my friends
#watch=( $(<~/.friends) ) # watch for people in .friends file
watch=(notme) # watch for everybody but me
LOGCHECK=300 # check every 5 min for login/logout activity
WATCHFMT='%n %a %l from %m at %t.'
# Set/unset shell options
setopt notify correct pushdtohome cdablevars autolist
setopt correctall autocd recexact longlistjobs histignorespace
setopt autoresume histignoredups pushdsilent pushdignoredups noclobber
setopt histnostore histnofunctions nohistbeep nobeep autocd multios sharehistory
setopt autopushd pushdminus extendedglob rcquotes mailwarning histreduceblanks
#setopt globdots noflowcontrol
unsetopt bgnice autoparamslash
# Autoload zsh modules when they are referenced
zmodload -a zsh/stat stat
zmodload -a zsh/zpty zpty
zmodload -a zsh/zprof zprof
zmodload -a -p zsh/mapfile mapfile
# Setup new style completion system. To see examples of the old style
#(compctl based) programmable completion, check Misc/compctl-examples in the zsh
# distribution.
autoload -U compinit
compinit
# Completion Styles
# list of completers to use
zstyle ':completion:*::::' completer _expand _complete _ignored _approximate
# allow one error for every three characters typed in approximate completer
zstyle -e ':completion:*:approximate:*' max-errors \
'reply=( $(( ($#PREFIX+$#SUFFIX)/3 )) numeric )'
# insert all expansions for expand completer
zstyle ':completion:*:expand:*' tag-order all-expansions
# formatting and messages
zstyle ':completion:*' verbose yes
zstyle ':completion:*:descriptions' format '%B%d%b'
zstyle ':completion:*:messages' format '%d'
zstyle ':completion:*:warnings' format 'No matches for: %d'
zstyle ':completion:*:corrections' format '%B%d (errors: %e)%b'
zstyle ':completion:*' group-name ''
# match uppercase from lowercase
zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}'
# offer indexes before parameters in subscripts
zstyle ':completion:*:*:-subscript-:*' tag-order indexes parameters
# command for process lists, the local web server details and host completion
#zstyle ':completion:*:processes' command 'ps -o pid,s,nice,stime,args'
#zstyle ':completion:*:urls' local 'www' '/var/www/htdocs' 'public_html'
zstyle '*' hosts $hosts
# Filename suffixes to ignore during completion (except after rm, see alias also)
zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' \
'*?.old' '*?.pro'
# ignore completion functions (until the _ignored completer)
zstyle ':completion:*:functions' ignored-patterns '_*'
# Newsserver
export NNTPSERVER=news.t-online.de
#export NNTPSERVER=freenews.netfront.net
#export NNTPSERVER=post.newsfeeds.com
# Keybindings
bindkey -v # VI
bindkey '^r' history-incremental-search-backward
bindkey '^x' push-line
bindkey '^p' copy-prev-word
bindkey '^d' describe-key-briefly
bindkey '^j' accept-line-and-down-history
Wir verwenden essentielle Cookies, damit diese Website funktioniert, und optionale Cookies, um den Komfort bei der Nutzung zu verbessern.
Siehe weitere Informationen und konfiguriere deine Einstellungen