mvln - move a file and leave a symlink to its new location in its place
mvln source destination
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 != ' ') |
#!/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 |
CFLAGS=-O2 -Wall -Wextra | |
.PHONY: all | |
all: accessmonitor.so | |
accessmonitor.so: accessmonitor.c | |
$(CC) $(CFLAGS) -fPIC -shared -ldl $< -o $@ |
#!/usr/bin/env perl | |
######################################################################### | |
# Copyright (C) 2012 Wojciech Siewierski # | |
# # | |
# This program is free software: you can redistribute it and/or modify # | |
# it under the terms of the GNU General Public License as published by # | |
# the Free Software Foundation, either version 3 of the License, or # | |
# (at your option) any later version. # | |
# # | |
# This program is distributed in the hope that it will be useful, # |
#!/bin/zsh | |
######################################################################### | |
# Copyright (C) 2012 Wojciech Siewierski # | |
# # | |
# This program is free software: you can redistribute it and/or modify # | |
# it under the terms of the GNU General Public License as published by # | |
# the Free Software Foundation, either version 3 of the License, or # | |
# (at your option) any later version. # | |
# # | |
# This program is distributed in the hope that it will be useful, # |
#!/bin/zsh | |
######################################################################### | |
# Copyright (C) 2014 Wojciech Siewierski # | |
# # | |
# This program is free software: you can redistribute it and/or modify # | |
# it under the terms of the GNU General Public License as published by # | |
# the Free Software Foundation, either version 3 of the License, or # | |
# (at your option) any later version. # | |
# # | |
# This program is distributed in the hope that it will be useful, # |
#!/bin/zsh | |
zebra() | |
{ | |
local r=0 | |
while IFS='' read -r line; do | |
r=$((!r)) | |
(( r )) && print -n '\e[1;34m' | |
print $line | |
(( r )) && print -n '\e[0m' |
"add imports on the first line" in withAnalyzer { (dir, analyzerRef) => | |
val file = srcFile(dir, "tmp-contents", contents( | |
"import scala.collection.mutable.Set" | |
), write = true, encoding = encoding) | |
val analyzer = analyzerRef.underlyingActor | |
val procId = 1 | |
analyzer.handleRefactorPrepareRequest( | |
new PrepareRefactorReq( |