Update aliases; add clang setup script
This commit is contained in:
parent
90be84e992
commit
05d0ac65b5
8
aliases
8
aliases
|
@ -341,11 +341,12 @@ alias ammend='echo "use am instead"'
|
|||
alias amend='echo "use am instead"'
|
||||
alias g='gitCmdWrapper'
|
||||
alias ga='git add -A'
|
||||
alias gaa='git add -A; gdc'
|
||||
alias gaa='git add -A; gdcc'
|
||||
alias gap='git add -Ap'
|
||||
alias gau='git add --update'
|
||||
alias gb='git branch -v'
|
||||
alias gbd='git branch -D'
|
||||
alias gbdr='git branch -Dr'
|
||||
alias gbl='git branch --all'
|
||||
alias gblm='git blame -wMC'
|
||||
alias gbm='git branch -m'
|
||||
|
@ -368,12 +369,13 @@ alias gcpa='git cherry-pick --abort'
|
|||
alias gcpc='git cherry-pick --continue'
|
||||
alias gcps='git cherry-pick -n'
|
||||
alias gd='git diff'
|
||||
alias gdc='git diff --cached --color-words'
|
||||
alias gdc='git diff --cached'
|
||||
alias gdcc='git diff --cached --color-words'
|
||||
alias gdm='git diff master'
|
||||
alias gds='git diff --stat=160,120'
|
||||
alias gf='git fetch'
|
||||
alias gfa='git fetch --all'
|
||||
alias gfd='git fetch --prune'
|
||||
alias gfd='git fetch --prune' # Removes remote branches that don't have a counterpart branch on the remote.
|
||||
alias gfix="git commit --amend -C HEAD"
|
||||
alias gfixx="git commit --amend -C HEAD ; gp -f"
|
||||
alias gfixs="git commit -S -a --amend -C HEAD" # signed
|
||||
|
|
25
script_helpers/clang.sh
Normal file
25
script_helpers/clang.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash
|
||||
|
||||
#---------------------------------------------------------------------------------------------------
|
||||
# API
|
||||
#---------------------------------------------------------------------------------------------------
|
||||
|
||||
get_clang_bin_path() {
|
||||
declare -n _path=$1
|
||||
|
||||
_path="C:\Program Files\LLVM\bin"
|
||||
|
||||
if [[ ! -d $_path ]]; then
|
||||
error "Was unable to find LLVM at "$_path".\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Fix up the path
|
||||
_path="/${_path/:/}" # Remove ':'.
|
||||
_path="${_path//\\//}" # Remove Windows slashes.
|
||||
_path="${_path// /\\ }" # Add a backslash before spaces.
|
||||
|
||||
# Assuming X64.
|
||||
printf "${BOLD}${YELLOW}[Clang X64]${NORMAL}\n"
|
||||
}
|
||||
|
|
@ -12,3 +12,4 @@ Abolish constnat constant
|
|||
Abolish darw draw
|
||||
Abolish transfered transferred
|
||||
Abolish transfering transferring
|
||||
Abolish haev have
|
||||
|
|
|
@ -261,3 +261,4 @@ ui
|
|||
weapon
|
||||
fov
|
||||
exe
|
||||
bitangent
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user