aboutsummaryrefslogtreecommitdiffhomepage
path: root/alias
diff options
context:
space:
mode:
Diffstat (limited to 'alias')
-rw-r--r--alias3
1 files changed, 2 insertions, 1 deletions
diff --git a/alias b/alias
index 491336c..3304f7c 100644
--- a/alias
+++ b/alias
@@ -133,12 +133,12 @@ port() { sudo lsof -i :$1; }
133alias ports='sudo lsof -i -Pn | grep LISTEN' 133alias ports='sudo lsof -i -Pn | grep LISTEN'
134alias duu='du -hd 1 . | sort -hr' 134alias duu='du -hd 1 . | sort -hr'
135_move_to_tmp() { mv $@ /tmp; } 135_move_to_tmp() { mv $@ /tmp; }
136name() { find . -iname "$1"; }
137alias latest='find . -type f | xargs ls -ltr | tail' 136alias latest='find . -type f | xargs ls -ltr | tail'
138alias lock='sudo chattr +i' # Make file undeletable 137alias lock='sudo chattr +i' # Make file undeletable
139alias chx='chmod +x' 138alias chx='chmod +x'
140alias chr='chmod +r' 139alias chr='chmod +r'
141alias findn='find . -iname' 140alias findn='find . -iname'
141name() { find . -iname "$1"; }
142trash() { mv $@ /tmp/ 2>/dev/null || rm -rf $@; } 142trash() { mv $@ /tmp/ 2>/dev/null || rm -rf $@; }
143rmrf() { rm -rf $@; } 143rmrf() { rm -rf $@; }
144alias df='df -h' 144alias df='df -h'
@@ -454,6 +454,7 @@ adb.push() {
454alias foo='echo bar > foo && echo File foo is created && ls -lh foo' 454alias foo='echo bar > foo && echo File foo is created && ls -lh foo'
455alias bar='echo foo > bar && echo File bar is created && ls -lh bar' 455alias bar='echo foo > bar && echo File bar is created && ls -lh bar'
456alias sample.text='curl http://metaphorpsum.com/paragraphs/3/5' 456alias sample.text='curl http://metaphorpsum.com/paragraphs/3/5'
457alias sample.bible='curl https://cdn.jsdelivr.net/gh/wldeh/bible-api/bibles/bibles.json | jq .; echo https://github.com/wldeh/bible-api'
457alias sample.gpx='curl -O https://docs.mapbox.com/help/data/run.gpx' 458alias sample.gpx='curl -O https://docs.mapbox.com/help/data/run.gpx'
458alias sample.geojson='curl -O https://docs.mapbox.com/help/data/stations.geojson' 459alias sample.geojson='curl -O https://docs.mapbox.com/help/data/stations.geojson'
459alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg' 460alias sample.gpkg='curl -O http://www.geopackage.org/data/sample1_1.gpkg'