Added
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
f89554d807
commit
5e1d243c3e
@ -14,7 +14,7 @@
|
|||||||
function scanning(){
|
function scanning(){
|
||||||
EUSCAN=$(euscan --nocolor --quiet "$1")
|
EUSCAN=$(euscan --nocolor --quiet "$1")
|
||||||
if [ -n "$EUSCAN" ]; then
|
if [ -n "$EUSCAN" ]; then
|
||||||
echo "=============== NOW: $(find ./* -mindepth 2 -maxdepth 2 -name ''"$1"'*.ebuild' | tail -1) =================
|
echo "=============== NOW: $(find ./* -mindepth 2 -maxdepth 2 -name ''"$1"'*.ebuild' | sort | tail -1) =================
|
||||||
$(echo -e "$EUSCAN" | tail -1)"
|
$(echo -e "$EUSCAN" | tail -1)"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -10,4 +10,4 @@ done
|
|||||||
echo
|
echo
|
||||||
read -p 'Select number to show logs: ' NUMBER
|
read -p 'Select number to show logs: ' NUMBER
|
||||||
|
|
||||||
sudo tail -f ${LOGS[$NUMBER]} | ccze -A
|
sudo tail -f ${LOGS[$NUMBER]}
|
||||||
|
10
.zshrc
10
.zshrc
@ -2,6 +2,10 @@ parse_git_branch() {
|
|||||||
git symbolic-ref --short HEAD 2> /dev/null
|
git symbolic-ref --short HEAD 2> /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gbranch() {
|
||||||
|
echo -e "$(git branch "$@")"
|
||||||
|
}
|
||||||
|
|
||||||
[ -f /etc/gentoo-release ] && export ZSH="/usr/share/zsh/site-contrib/oh-my-zsh"
|
[ -f /etc/gentoo-release ] && export ZSH="/usr/share/zsh/site-contrib/oh-my-zsh"
|
||||||
[ -f /etc/centos-release ] && export ZSH="$HOME/.oh-my-zsh"
|
[ -f /etc/centos-release ] && export ZSH="$HOME/.oh-my-zsh"
|
||||||
[ -f /etc/debian_version ] && export ZSH="$HOME/.oh-my-zsh"
|
[ -f /etc/debian_version ] && export ZSH="$HOME/.oh-my-zsh"
|
||||||
@ -67,11 +71,13 @@ alias feh="feh --scale-down"
|
|||||||
alias changefont="figlet"
|
alias changefont="figlet"
|
||||||
alias gmaster="git checkout master"
|
alias gmaster="git checkout master"
|
||||||
alias gcommit="git commit --author='Marcin Woźniak <y0rune@aol.com>' -s"
|
alias gcommit="git commit --author='Marcin Woźniak <y0rune@aol.com>' -s"
|
||||||
alias gcommitwork="git commit --author='Marcin Woźniak <marcin.wozniak@cognifide.com>'"
|
alias gcommitw="git commit --author='Marcin Woźniak <marcin.wozniak@cognifide.com>'"
|
||||||
alias gadd="git add"
|
alias gadd="git add"
|
||||||
alias gpush="git push"
|
alias gpush="git push"
|
||||||
alias gpull="git pull"
|
alias gpull="git pull"
|
||||||
alias glog="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches"
|
alias gstatus="git status"
|
||||||
|
alias gst="git status"
|
||||||
|
alias Log="git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --branches"
|
||||||
alias gfg="git checkout master && git fetch upstream && git pull upstream master"
|
alias gfg="git checkout master && git fetch upstream && git pull upstream master"
|
||||||
alias cal="cal -3"
|
alias cal="cal -3"
|
||||||
alias code="vscodium"
|
alias code="vscodium"
|
||||||
|
Loading…
Reference in New Issue
Block a user