Instead, add _iterm2_prompt_command as the last # PROMPT_COMMAND could clobber the PS1 it modifies. # _iterm2_prompt_command used to be run from precmd_functions but then a pre-existing # It calls any registered precmd_functions # It runs _bp_precmd_invoke_cmd, which is inserted as the first command in PROMPT_COMMAND. # It runs any registered preexec_functions, including _iterm2_preexec When you invoke a command at an interactive prompt the following steps are taken: # (including various custom escape sequences). ITERM_PREV_PS1 will hold the last value that this script set PS1 to This is used to detect if the user changes PS1 "Įcho "Find 'shopt -s extdebug' in bash's rc scripts and remove it. "Įcho "This is incompatible with shell integration. "Įcho "Your shell has 'extdebug' turned on. If shopt extdebug | grep on > /dev/null thenĮcho "iTerm2 Shell Integration not installed. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # along with this program if not, write to the Free Software # You should have received a copy of the GNU General Public License # GNU General Public License for more details. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # but WITHOUT ANY WARRANTY without even the implied warranty of # This program is distributed in the hope that it will be useful, # of the License, or (at your option) any later version. # as published by the Free Software Foundation either version 2 # modify it under the terms of the GNU General Public License # This program is free software you can redistribute it and/or Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any No Binaries Metricġ.4.0 passed this metric Testing File Metricġ.4.0 failed this metric Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a TESTING.md file Version Tag Metricġ.4.# The iTerm2 customizations fall under the following license: Contributing File Metricġ.4.0 failed this metric Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a CONTRIBUTING.md file Foodcritic Metricġ.4.0 failed this metric FC064: Ensure issues_url is set in metadata: iterm2/metadata.rb:1įC065: Ensure source_url is set in metadata: iterm2/metadata.rb:1įC066: Ensure chef_version is set in metadata: iterm2/metadata.rb:1įC069: Ensure standardized license defined in metadata: iterm2/metadata.rb:1įC072: Metadata should not contain "attribute" keyword: iterm2/metadata.rb:1įC121: Cookbook depends on cookbook made obsolete by Chef 14: iterm2/metadata.rb:1 A cookbook must have at least 2 collaborators to pass this metric. See the License for the specific language governing permissions andġ.4.0 failed this metric Failure: Cookbook has 1 collaborators. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. Unless required by applicable law or agreed to in writing, softwareĭistributed under the License is distributed on an "AS IS" BASIS, You may not use this file except in compliance with the License. Licensed under the Apache License, Version 2.0 (the "License") License and AuthorĪuthor:: Joshua Timberman ( 2011, Joshua Timberman Precompiled binaries require Mac OS X Lion. The automake/autoreconf done by the scripts, so it may not work. By default, the recipe will download the precompiled binaries. Integrated tmux support in iTerm2, set that attribute to true throughĪ role. Version 1.2.0, this cookbook supports installing the custom tmux The latest versions of iTerm 2 have integrated support for the To have your preferences managed by Chef on all your machines :). Applications, and if you have customized settings, copy See attributes/default.rbīy default, this cookbook will install the iTerm2 application to Requirements PlatformĪttributes are documented in the metadata. Optionally enables tmux integration for iTerm 2.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |