zshrc: Add flunci
This commit is contained in:
parent
0e42db4b6d
commit
62d3355cca
1 changed files with 6 additions and 1 deletions
7
zshrc
7
zshrc
|
@ -279,6 +279,12 @@ if __has_command fossil; then
|
||||||
fossil artifact "$rev" | gpg --verify
|
fossil artifact "$rev" | gpg --verify
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flunci() {
|
||||||
|
fossil up previous && \
|
||||||
|
fossil diff -N --checkin tip | patch -p0 && \
|
||||||
|
fossil purge checkins tip
|
||||||
|
}
|
||||||
|
|
||||||
git2fl() {
|
git2fl() {
|
||||||
local gitdir=$(git rev-parse --show-toplevel)/.git
|
local gitdir=$(git rev-parse --show-toplevel)/.git
|
||||||
local repo=$(fossil info | awk '/^repository:/ { print $2 }')
|
local repo=$(fossil info | awk '/^repository:/ { print $2 }')
|
||||||
|
@ -433,7 +439,6 @@ cross() {
|
||||||
|
|
||||||
export PATH="$amiga_gcc_path/bin:$PATH"
|
export PATH="$amiga_gcc_path/bin:$PATH"
|
||||||
export cross_host="m68k-amigaos"
|
export cross_host="m68k-amigaos"
|
||||||
export objfw_configure_flags="OBJC=m68k-amigaos-g++"
|
|
||||||
;;
|
;;
|
||||||
ppc)
|
ppc)
|
||||||
if [ -z "$adtools_path" ]; then
|
if [ -z "$adtools_path" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue