mvln - move a file and leave a symlink to its new location in its place
mvln source destination
| CFLAGS=-O2 -Wall -Wextra | |
| .PHONY: all | |
| all: accessmonitor.so | |
| accessmonitor.so: accessmonitor.c | |
| $(CC) $(CFLAGS) -fPIC -shared -ldl $< -o $@ |
| #!/bin/sh | |
| # USAGE: git fixup [commit hash or something] | |
| # Adds the staged changes to the specified commit. | |
| if [ -n "$1" ]; then | |
| git stash --keep-index | |
| git commit --fixup="$1" && | |
| GIT_EDITOR=vim git rebase --autosquash --interactive "$1~1" | |
| git stash pop |
| diff --git a/Src/hist.c b/Src/hist.c | |
| index 4d522dd..78a98ed 100644 | |
| --- a/Src/hist.c | |
| +++ b/Src/hist.c | |
| @@ -1122,6 +1122,9 @@ should_ignore_line(Eprog prog) | |
| if (isset(HISTIGNORESPACE)) { | |
| if (*chline == ' ' || aliasspaceflag) | |
| return 1; | |
| + } else if (isset(HISTACCEPTSPACE)) { | |
| + if (*chline != ' ') |