BASHRC script práctico para la consola
#!/bin/sh PS1='\[[1;34m\]\u\[[0;34m\]:\[[36m\]\w\[[1m\]\$ \[[0m\]' alias which="type -path" alias ls='ls --color -F' alias ll='ls -l' alias zv='tar tzfv $*' alias ze='tar xzfv $*' alias zc='tar czfv $*' alias p='PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin' echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/$HOME/~}\007" function term { if [ $# -eq 1 ] then echo old:\ $TERM TERM=$1 export TERM fi echo new:\ $TERM }
0 comentarios