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
    10 results tagged zsh x
    • thumbnail
      Auto activate and deactivate python venv using zsh - DEV Community
      python_venv() {
        MYVENV=./venv
        # when you cd into a folder that contains $MYVENV
        [[ -d $MYVENV ]] && source $MYVENV/bin/activate > /dev/null 2>&1
        # when you cd into a folder that doesn't
        [[ ! -d $MYVENV ]] && deactivate > /dev/null 2>&1
      }
      autoload -U add-zsh-hook
      add-zsh-hook chpwd python_venv
      May 20, 2022 at 1:59:01 PM GMT+2 * - permalink - archive.org - https://dev.to/moniquelive/auto-activate-and-deactivate-python-venv-using-zsh-4dlm
      python venv zsh
    • Note: tip zsh edit command line

      bindkey -M emacs |grep edit-command
      "^X^E" edit-command-line

      ctrl x ctrl e pour editer la commande actuelle via vim

      February 2, 2022 at 2:25:52 PM GMT+1 - permalink - archive.org - https://links.infomee.fr/?Skfb-A
      command edit vim zsh
    • Quick cd'ing in ZSH by setting a `cdpath`

      via geo

      October 12, 2021 at 2:56:53 PM GMT+2 * - permalink - archive.org - https://koenwoortman.com/zsh-cdpath/
      cd cdpath zsh
    • Eliminating delays on ESC in vim and zsh - John Hawthorn
      September 23, 2021 at 5:13:40 PM GMT+2 - permalink - archive.org - https://www.johnhawthorn.com/2012/09/vi-escape-delays/
      delay tmux vim zsh
    • zsh: 18 Zsh Line Editor
      April 23, 2020 at 10:59:43 AM GMT+2 - permalink - archive.org - http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Standard-Widgets
      zsh
    • zsh: 17 Shell Builtin Commands

      history command is the same than fc -l

      fc is used to manage history

      MAIS omyzsh declare un alias history :
      https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/history.zsh

      ce qui equivaut à history = fc -l 1

      April 23, 2020 at 10:05:10 AM GMT+2 * - permalink - archive.org - http://zsh.sourceforge.net/Doc/Release/Shell-Builtin-Commands.html
      history zsh
    • thumbnail
      ohmyzsh/plugins/git-auto-fetch at master · ohmyzsh/ohmyzsh · GitHub
      December 8, 2019 at 11:25:00 AM GMT+1 - permalink - archive.org - https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/git-auto-fetch
      fetch git zsh
    • 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
    • Fix OhMyZSH Prompts in PuTTY · Brooks Garrett
      March 4, 2017 at 8:46:16 AM GMT+1 - permalink - archive.org - https://brooksgarrett.com/blog/fix-ohmyzsh-prompts-in-putty/
      font putty windows zsh
    • Why Zsh is Cooler than Your Shell

      zsh ça a l'air bien quand même. Le coup des alias inline ça rox ( gp=|grep -i )

      June 29, 2014 at 10:14:30 PM GMT+2 - permalink - archive.org - http://www.slideshare.net/jaguardesignstudio/why-zsh-is-cooler-than-your-shell-16194692
      bash shell zsh
    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