Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fishline v2.0.0 #14

Merged
merged 14 commits into from
Mar 2, 2016
Merged

Fishline v2.0.0 #14

merged 14 commits into from
Mar 2, 2016

Commits on Aug 3, 2015

  1. Coding style change + Update PWD Segment removing the call to prompt_pwd

    - No longer uses builtin function prompt_pwd to take advantages of fish-shell array variable
    - Always use `[ ]` instead of `test` for everything make a comparison between 2 argument as its clearer to read
    - We are still using `test` for things like `test -d file` or `test -w folder` as this is applied to a single argument
    0rax committed Aug 3, 2015
    Configuration menu
    Copy the full SHA
    36ca418 View commit details
    Browse the repository at this point in the history
  2. GIT Segment now compatible with Git Version < 1.8.5

    Change means to get all git information
    Use git status --porcelain as it is reliable accross all git version
    Use git rev-parse to check if branch is detached and the number of ahead and behind commit
    It will also show you the tag when detaching to a tag
    0rax committed Aug 3, 2015
    Configuration menu
    Copy the full SHA
    0fce382 View commit details
    Browse the repository at this point in the history
  3. Fishline v2: fish_right_prompt compatible + new way to parse argument

    - Major changes:
      - You can now pass the SEGMENT you want to pass to Fishline as positonnal argument
      - You now pass the last_status to Fishline using the option `-s $status`
      - Fishline is now able to output a `fish_right_prompt` compatible prompt using the `-r` option
      - Addition of the `-l` option, which is the default and will output a `fish_prompt` compatible prompt
    - Backward compatibility:
      - Prompt setup using the `FLINE_PROMPT` variable will work as expected with the previous version
      - If you dont pass your last status using the `-s` option, Fishline will try to get it from the first non optionnal argument (same as in v1)
    - Breaking changes:
      - Any theme setting one of the following var `FLSYM_PRE_CLOSE`, `FLSYM_CLOSE`, `FLSYM_POST_CLOSE`, `FLSYM_SEPARATOR` will no longer work.
        You will need to modify them using the replacing vars (see `themes/tty-compatible.fish`)
    0rax committed Aug 3, 2015
    Configuration menu
    Copy the full SHA
    b8df72a View commit details
    Browse the repository at this point in the history
  4. GIT Segment: Redirect stderr of tags check to /dev/null so that it wi…

    …ll not print an error on detached commit that are not part of any tag
    0rax committed Aug 3, 2015
    Configuration menu
    Copy the full SHA
    2c7f449 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2015

  1. New Segment SIGSTATUS

    - Work as STATUS for return code < 126
    - For return code from 126 to 160 it translate return code to its meaning
    - Translate return code 126 to 'NOEXEC'
    - Translate return code 127 to 'NFOUND'
    - Translate return code from 129 to 159 (SIGNAL return code) to their meaning
      Exemple: - Process exited from Ctrl+C will show SIGINT instead of 130
               - Process exited from Segmentation Fault will show SIGSEGV instead pf 129
    0rax committed Aug 9, 2015
    Configuration menu
    Copy the full SHA
    784ed8a View commit details
    Browse the repository at this point in the history
  2. SIGSTATUS: Update for OSX, show the SIGNAME in UPPERCASE as `kill -l …

    …$SIG` return SIGNAME in lowercase
    0rax committed Aug 9, 2015
    Configuration menu
    Copy the full SHA
    8ce2752 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2015

  1. Configuration menu
    Copy the full SHA
    1efe2f5 View commit details
    Browse the repository at this point in the history
  2. MacOSX Compatibility update

     - Change sed '-r' flag changed to '-E' as '-r' is not availlable on MacOSX
     - Change '\n' in sed expression by a call to tr (know issue with `sed -E` on MacOSX)
     - Fix test.fish sed expression as '\S' was not working as expected
     - Fix `sed` expression that added a '\n' to the PATH on MacOSX in the FULLPWD segment
    0rax committed Aug 15, 2015
    Configuration menu
    Copy the full SHA
    62989fc View commit details
    Browse the repository at this point in the history
  3. README: change status config

    0rax committed Aug 15, 2015
    Configuration menu
    Copy the full SHA
    12312d9 View commit details
    Browse the repository at this point in the history
  4. GIT Segment: Update test

    0rax committed Aug 15, 2015
    Configuration menu
    Copy the full SHA
    3166c49 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2015

  1. Configuration menu
    Copy the full SHA
    0ac12f2 View commit details
    Browse the repository at this point in the history
  2. GIT Segment: update test

    0rax committed Sep 24, 2015
    Configuration menu
    Copy the full SHA
    96d00d9 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2016

  1. Update GIT segment:

    - when inside a new repository without any commit it will now show you as detached on master
    - this tells you that you are in a repository that does not have a root commit
    - added a trigger for the FLEVENT_GIT when the .git folder is created
    0rax committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    0666a73 View commit details
    Browse the repository at this point in the history
  2. Change symbol for jobs & vfish

    0rax committed Mar 2, 2016
    Configuration menu
    Copy the full SHA
    c38bcf8 View commit details
    Browse the repository at this point in the history