4337 links
  • Arnaud's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
    Type 1 or more characters for results.
    Links per page: 20 50 100
    page 1 / 1
    7 results tagged alias x
    • thumbnail
      GitHub - ahmetb/kubectl-aliases: Programmatically generated handy kubectl aliases.
      November 20, 2019 at 10:30:52 PM GMT+1 - permalink - archive.org - https://github.com/ahmetb/kubectl-aliases
      alias k8s
    • An Introduction to the Z Shell - Aliasing

      Most other shells have aliases of this kind (command aliases). However, zsh also has global aliases, which are substituted anywhere on a line. Global aliases can be used to abbreviate frequently-typed usernames, hostnames, etc.

      % alias -g me=pfalstad gun=egsirer mjm=maruchck
      % who | grep me
      pfalstad ttyp0 May 24 03:39 (mickey.Princeton)
      pfalstad ttyp5 May 24 03:42 (mickey.Princeton)
      % fm gun
      Login name: egsirer In real life: Emin Gun Sirer
      Directory: /u/egsirer Shell: /bin/sh
      Last login Thu May 23 19:05 on ttyq3 from bow.Princeton.ED
      New mail received Fri May 24 02:30:28 1991;
      unread since Fri May 24 02:30:27 1991
      % alias -g phx=phoenix.princeton.edu warc=wuarchive.wustl.edu
      % ftp warc
      Connected to wuarchive.wustl.edu.

      Here are some more interesting uses.

      % alias -g M='| more' GF='| fgrep -f ~/.friends'
      % who M # pipes the output of who through more
      % who GF # see if your friends are on
      % w GF # see what your friends are doing

      alias -g gp='|grep '

      May 15, 2019 at 9:56:53 PM GMT+2 - permalink - archive.org - http://zsh.sourceforge.net/Intro/intro_8.html
      alias zsh
    • bash - watch command alias expansion - Unix & Linux Stack Exchange
      March 8, 2019 at 6:05:06 PM GMT+1 - permalink - archive.org - https://unix.stackexchange.com/questions/25327/watch-command-alias-expansion
      alias watch
    • thumbnail
      Git Alias to Show Affected Files in Last N Commits (Example)

      Add this to your user's ~/.gitconfig under [alias] to make it globally available:

      lsch = "!f() { git diff --name-status -r "HEAD~$1"; }; f"

      You can invoke this to retrieve all affected files in the last 7 commits like so:

      $ git lsch 7

      May 3, 2018 at 3:11:34 PM GMT+2 - permalink - archive.org - https://coderwall.com/p/8rtfgg/git-alias-to-show-affected-files-in-last-n-commits
      alias git
    • irssi alias close all query

      Nouvel alias :)

      cleanq = "/foreach query /unquery";

      October 13, 2015 at 5:09:40 PM GMT+2 - permalink - archive.org - https://links.infomee.fr/?rNWBCQ
      alias irssi
    • Twig's Tech Tips: Firefox Dynamic Bookmarking

      Pour créer un 'alias' dans firefox, pratique !

      For example, the link http://www.youtube.com/watch?v=HXi-8nLK_dc

      Bookmark the page and edit it.
      Edit the link so you keep the "http://www.youtube.com/watch?v=" chunk, but replace the video ID with "%s" so it becomes "http://www.youtube.com/watch?v=%s"
      Give the bookmark a keyword such as "yt"
      Test by typing "yt HXi-8nE65JshkU" into the Firefox address bar.
      January 8, 2014 at 2:50:22 PM GMT+1 - permalink - archive.org - http://twigstechtips.blogspot.fr/2009/01/firefox-dynamic-bookmarking.html
      alias bookmark firefox
    • Extract most know archives with one command | alias.sh
      February 4, 2013 at 10:43:30 PM GMT+1 - permalink - archive.org - http://alias.sh/extract-most-know-archives-one-command
      alias bash bashrc linux
    Links per page: 20 50 100
    page 1 / 1
    Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Help/documentation