|
@@ -5,7 +5,6 @@ alias isodate='date -u +"%Y-%m-%dT%H:%M:%SZ"'
|
|
|
# prepend an iso timestamp (requires moreutils)
|
|
|
alias tsp="ts '[%Y-%m-%dT%H:%M:%S:%SZ]'"
|
|
|
|
|
|
-
|
|
|
# You may need to manually set your language environment
|
|
|
export LANG=en_US.UTF-8
|
|
|
|
|
@@ -22,7 +21,11 @@ function killit () {
|
|
|
}
|
|
|
|
|
|
# Mount reginald public folder
|
|
|
-alias mount-public='umount ~/Mounts/public; mkdir -p ~/Mounts/public && sshfs matevi.sh:/var/www/files ~/Mounts/public -oreconnect,defer_permissions,volname=reginald-public'
|
|
|
+export PUBLIC_MOUNT_DIR='~/Mounts/public'
|
|
|
+function mount-public() {
|
|
|
+ umount $PUBLIC_MOUNT_DIR;
|
|
|
+ mkdir -p ~/Mounts/public && sshfs matevi.sh:/var/www/file $PUBLIC_MOUNT_DIR -oreconnect,defer_permissions,volname=reginald-public;
|
|
|
+}
|
|
|
|
|
|
# Keep stuff out of history
|
|
|
function offrecord() {
|
|
@@ -32,7 +35,3 @@ function onrecord() {
|
|
|
fc -P;
|
|
|
}
|
|
|
|
|
|
-# Record audio files
|
|
|
-function record() {
|
|
|
- sox -d $1
|
|
|
-}
|