Home > Syntax Error > Bashrc Syntax Error

Bashrc Syntax Error

Contents

Use like so: # sleep 10; alert alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' # Alias definitions. # You Prefer ~/.dir_colors #64489 #if type -P dircolors >/dev/null ; then if [[ -f ~/.dir_colors ]] ; then eval $(dircolors -b ~/.dir_colors) elif [[ -f /etc/DIR_COLORS ]] ; then eval $(dircolors -b Please visit this page to clear all LQ-related cookies. But any changes in ~/.bashrc made by you (if any) will be lost. this contact form

T3slider View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by T3slider 12-19-2010, 01:29 PM #6 Keith Hedger Senior Member Registered: Jun 2010 Ask a question Edit question Subscribers Subscribe Subscribe someone else • Take the tour • Read the guide © 2004-2016 CanonicalLtd. • Terms of use • Contact Launchpad Support • Many thanks to you and Andrew. Were slings used for throwing hand grenades?

Syntax Error Unexpected End Of File Bash

Yes, of course I'm an adult! History Link existing bug Create bug report Link to a FAQ Create a new FAQ To post a message you must log in. if [[ $- != *i* ]] ; then # Shell is non-interactive. Are you new to LinuxQuestions.org?

How to increase the population growth of the human race When was this language released? return ###Promts & Terminal theme is black on white ## name=dark purple; relative directory=medium purple; prompt=dark purple; font code=light grey PS1='\[\e[0;35m\]\u\[\e[m\]\[\e[0;37m\] \W\[\e[m\]\[\e[0;35m\] \$ \[\e[m\]\[\e[0;37m\]' ## erase duplicate entries in your history Not the answer you're looking for? And you might want to enclose $PATH in double quotes, in case a PATH element contains some special characters (like brackets). –fork0 Aug 13 '12 at 8:11 as @tooboring4me

Could not load ruby textmate." Last edited by Luxx; January 6th, 2015 at 07:53 AM. Bashrc Example Related 4bash: syntax error near unexpected token `('1Merging Home Directories Breaks Readline/.bashrc0Terminal error (some typo somewhere?) with .bashrc disables all aliases etc1bash: syntax error near unexpected token `(' in README of I'm torn apart between worlds. Bar to add a line break simply add two spaces to where you would like the new line to be.

At first glance the file looks okay, so I'd suggest you comment out every single line (with #) and see if the error still manifests. When the problem comes up again, the shell will now give you much more useful context regarding the error. When I used gedit to examine the error area, I could go only as far as Line 140. Use internal bash # globbing instead of external grep binary.

Bashrc Example

Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Why? Syntax Error Unexpected End Of File Bash How's the CMD trip bonuses from extra legs work? Unexpected Eof While Looking For Matching `"' Things usually work fine in terminal, but I'm wondering what is going on with this message at the top.

Ask Ubuntu works best with JavaScript enabled Log in / Register Ubuntugedit package Overview Code Bugs Blueprints Translations Answers how to troubleshoot .bashrc errors Asked by Julianloui on 2013-09-06 I just weblink Ask Ubuntu works best with JavaScript enabled UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. Keith Hedger View Public Profile View LQ Blog View Review Entries View HCL Entries Visit Keith Hedger's homepage! By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features.

Yes, of course I'm an adult! Religious supervisor wants to thank god in the acknowledgements What are the canonical white spaces? Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the navigate here The first one came with the freshly installed Slack and never gave me problems before.

Adv Reply Quick Navigation General Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to UNIX is a registered trademark of The Open Group. Then just do binary search, that is, comment in the first half of the file.

SSH: No supported authentication methods available Logging in after IP Address Change Add FTP Users to a specific webapp O WEBFACTION Home Sign up Jobs REACH US Email Blog Twitter Facebook

Password Slackware This Forum is for the discussion of Slackware Linux. more hot questions question feed lang-bsh about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation and assuming the .ls is typo only here, in the question, check the .../ifortvars.sh too. Browse other questions tagged command-line bash or ask your own question.

Verbs of buttons on websites Does mean=mode imply a symmetric distribution? It is really great tool to debug such mess: You made a mistake just in the start: if [ -z "$PS1" ] && return # SC1073 Couldn't parse this if expression. As a result, my nice prompt that I spent some time developing doesn't work and my prompt instead defaults to a prompt I put into /etc/bash.bashrc just for fun. his comment is here Keep in mind I don't have a lot going on in my .bashrc file anyway.

Problem with using pause and onslide in one frame Should indoor ripened tomatoes be used for sauce? Find More Posts by mRgOBLIN 12-19-2010, 04:54 PM #10 Keith Hedger Senior Member Registered: Jun 2010 Location: Wiltshire, UK Distribution: Linux From Scratch, Slackware64, Partedmagic Posts: 2,223 Rep: You xri View Public Profile View LQ Blog View Review Entries View HCL Entries View LQ Wiki Contributions Find More Posts by xri View Blog 12-18-2010, 04:00 PM #2 rg3 Member When i use install command, the following error appears. “ dpkg: warning: 'tar' not found in PATH or not executable dpkg: error: 1 expected program not found in PATH or not

Can a creature benefit from differently typed speed bonuses all named fast movement? If that works continue with the third quarter (otherwise with the first quarter). if [ -f /etc/bash_completion ] && ! Tango Icons © Tango Desktop Project.

Interestly, there is no line 129 as .bashrc ends at line 128, although I'm not sure that should be unexpected. asked 2 years ago viewed 1220 times active 2 years ago Linked 2 How to solve “dpkg: error: 1 expected program not found in PATH or not executable”?