From fb2d4d09e35acbf4b4a27ea552ad97f765208581 Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Tue, 23 Feb 2016 20:26:29 +0500 Subject: [PATCH] bash: aliases: ++phps, lsl --- etc/shell/bash/aliases | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/etc/shell/bash/aliases b/etc/shell/bash/aliases index 8b87621..859e709 100755 --- a/etc/shell/bash/aliases +++ b/etc/shell/bash/aliases @@ -26,6 +26,7 @@ alias g++="g++ -Os -Wall" #noindex alias echo="echo -e" #noindex alias less="less -R" #noindex alias ls='ls -lGhpX --color=always --group-directories-first -v' #noindex +alias lsl='ls -L' #noindex alias lst='ls -al --time-style=+%D | grep $(\date +%D)' #noindex alias lss='\ls --format=single-column' #noindex alias nl="nl -b a" #noindex @@ -206,6 +207,10 @@ vls() { vlc --rate 1.2 -I ncurses ${1:-*.mp3}; } #noindex githubdl() { git clone git://github.com/${1}.git } +#- php-сервер +phps() { + php -S ${2:-localhost}:${3:-80} -t ${1:-.} +} #}}} ########################################################################### #{{{ \033[00m\n\b------<Работа_с_файлами>\n